File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44'PQ version 3.0 client transactions'
55import sys
66import os
7+ import pprint
78from abc import ABCMeta , abstractmethod
89from itertools import chain
910from operator import itemgetter
@@ -111,7 +112,7 @@ def __init__(self,
111112
112113 def __repr__ (self ):
113114 s = type (self ).__module__ + "." + type (self ).__name__
114- s += pformat ((self .startup_message , self .password )).lstrip ()
115+ s += pprint . pformat ((self .startup_message , self .password )).lstrip ()
115116 return s
116117
117118 def messages_received (self ):
@@ -430,7 +431,7 @@ def __repr__(self, format = '{mod}.{name}({nl}{args})'.format):
430431 mod = type (self ).__module__ ,
431432 name = type (self ).__name__ ,
432433 nl = os .linesep ,
433- args = pformat (self .commands )
434+ args = pprint . pformat (self .commands )
434435 )
435436
436437 def messages_received (self ):
You can’t perform that action at this time.
0 commit comments