From d5002e1c579cf35487862032f70a9eb420006216 Mon Sep 17 00:00:00 2001 From: Ruilin Huang Date: Wed, 27 Jan 2016 08:21:59 +0000 Subject: [PATCH] fix %x string format to compatible with Python 3.5 (cherry picked from commit 4b9f6f407ceedde247982501a6ae406242c80b4a) --- doc/build/core/custom_types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build/core/custom_types.rst b/doc/build/core/custom_types.rst index 22dd52050a..f3a3b2bd0e 100644 --- a/doc/build/core/custom_types.rst +++ b/doc/build/core/custom_types.rst @@ -156,7 +156,7 @@ binary in CHAR(16) if desired:: return "%.32x" % uuid.UUID(value).int else: # hexstring - return "%.32x" % value + return "%.32x" % value.int def process_result_value(self, value, dialect): if value is None: -- 2.47.3