From: xghrl Date: Wed, 27 Jan 2016 08:10:06 +0000 (+0000) Subject: fix %x string format to compatible with Python 3.5 X-Git-Tag: rel_1_1_0b1~81^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=324e532d6081d9b9ea90bf3945cecfc792264f8d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix %x string format to compatible with Python 3.5 --- diff --git a/doc/build/core/custom_types.rst b/doc/build/core/custom_types.rst index 7fca1a537b..22dd52050a 100644 --- a/doc/build/core/custom_types.rst +++ b/doc/build/core/custom_types.rst @@ -153,7 +153,7 @@ binary in CHAR(16) if desired:: return str(value) else: if not isinstance(value, uuid.UUID): - return "%.32x" % uuid.UUID(value) + return "%.32x" % uuid.UUID(value).int else: # hexstring return "%.32x" % value