mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Changed repr to pprint.pformat.
This commit is contained in:
parent
8819240864
commit
288dc6cf4c
@ -38,6 +38,7 @@ Data structures for Python.
|
||||
import fix
|
||||
|
||||
import types
|
||||
import pprint
|
||||
import string
|
||||
|
||||
class RingBuffer(object):
|
||||
@ -366,7 +367,7 @@ class PersistentDictionary(dict):
|
||||
|
||||
def close(self):
|
||||
fd = file(self.filename, 'w')
|
||||
fd.write(repr(self))
|
||||
fd.write(pprint.pformat(self))
|
||||
fd.close()
|
||||
|
||||
flush = close
|
||||
|
Loading…
Reference in New Issue
Block a user