diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2010-09-10 12:29:24 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2010-09-10 12:29:24 +0000 |
| commit | 70c1f638331ae249bd97fd456343d7702775185e (patch) | |
| tree | 3b6b41a65e7d398af8c00ac3a923a56265a83c58 /python/qpid/codec010.py | |
| parent | 6c60735c145ac0b4d6ae9459b173e34cb54e5df9 (diff) | |
| download | qpid-python-70c1f638331ae249bd97fd456343d7702775185e.tar.gz | |
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
Diffstat (limited to 'python/qpid/codec010.py')
| -rw-r--r-- | python/qpid/codec010.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
