From 70c1f638331ae249bd97fd456343d7702775185e Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Fri, 10 Sep 2010 12:29:24 +0000 Subject: made qpid.datatypes module use builtin UUID when available git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@995770 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/codec010.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/qpid/codec010.py') diff --git a/python/qpid/codec010.py b/python/qpid/codec010.py index d65f8c36f5..5ad1ef14c1 100644 --- a/python/qpid/codec010.py +++ b/python/qpid/codec010.py @@ -357,7 +357,7 @@ class Codec(Packer): getattr(self, attr)(n) def read_uuid(self): - return UUID(self.unpack("16s")) + return UUID(bytes=self.unpack("16s")) def write_uuid(self, s): if isinstance(s, UUID): s = s.bytes -- cgit v1.2.1