diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-11-30 13:29:23 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-11-30 13:29:23 -0500 |
commit | 4c6e93d72a47aa60fd0e7e82603b193eb64f9af4 (patch) | |
tree | 06d08491d42d169bf88303980a04bd3bd2b9b70b | |
parent | 52167e1c37a6d704f01dc15bcb14ec2489979457 (diff) | |
download | sqlalchemy-4c6e93d72a47aa60fd0e7e82603b193eb64f9af4.tar.gz |
- format guid hexstring explicit with 32 chars, [ticket:1988]
-rw-r--r-- | doc/build/core/types.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/build/core/types.rst b/doc/build/core/types.rst index ddb40d045..1910d9b7d 100644 --- a/doc/build/core/types.rst +++ b/doc/build/core/types.rst @@ -325,10 +325,10 @@ binary in CHAR(16) if desired:: return str(value) else: if not isinstance(value, uuid.UUID): - return "%x" % uuid.UUID(value) + return "%.32x" % uuid.UUID(value) else: # hexstring - return "%x" % value + return "%.32x" % value def process_result_value(self, value, dialect): if value is None: |