Author: gsim Date: Wed Oct 22 19:12:29 2014 New Revision: 1633684 URL: http://svn.apache.org/r1633684 Log: Expose uuid generation from proton module
Modified: qpid/proton/branches/examples/proton-c/bindings/python/proton.py Modified: qpid/proton/branches/examples/proton-c/bindings/python/proton.py URL: http://svn.apache.org/viewvc/qpid/proton/branches/examples/proton-c/bindings/python/proton.py?rev=1633684&r1=1633683&r2=1633684&view=diff ============================================================================== --- qpid/proton/branches/examples/proton-c/bindings/python/proton.py (original) +++ qpid/proton/branches/examples/proton-c/bindings/python/proton.py Wed Oct 22 19:12:29 2014 @@ -85,6 +85,9 @@ except ImportError: def uuid4(): return uuid.UUID(bytes=random_uuid()) +def generate_uuid(): + return uuid.uuid4() + try: bytes() except NameError: --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org