##// END OF EJS Templates
stringutil: teach pprint how to format None...
Augie Fackler -
r37767:73d0a3dd default
parent child Browse files
Show More
@@ -42,6 +42,8 b' def pprint(o):'
42 return '%d' % o
42 return '%d' % o
43 elif isinstance(o, float):
43 elif isinstance(o, float):
44 return '%f' % o
44 return '%f' % o
45 elif o is None:
46 return b'None'
45 else:
47 else:
46 raise error.ProgrammingError('do not know how to format %r' % o)
48 raise error.ProgrammingError('do not know how to format %r' % o)
47
49
General Comments 0
You need to be logged in to leave comments. Login now