changeset 125:9fb80d39af55

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 03 Nov 2020 14:55:44 -0800
parents ff6ce18cb0be
children d00f89a9f3c5
files bitsyblog/parser.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitsyblog/parser.py	Tue Nov 03 14:54:01 2020 -0800
+++ b/bitsyblog/parser.py	Tue Nov 03 14:55:44 2020 -0800
@@ -151,7 +151,7 @@
         for attr in self.__slots__:
             value = getattr(self, attr)
             if value is not None:
-                l.append("%s=%s" % (attr, `value`))
+                l.append("%s=%s" % (attr, repr(value)))
         return "%s(%s)" % (classname, ", ".join(l))
 
     def __repr__(self):