Commit dce98531 authored by Barry Warsaw's avatar Barry Warsaw

BerkeleyConfig.__repr__(): Include the read_only flag

parent ed4c28b3
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"""Base class for BerkeleyStorage implementations. """Base class for BerkeleyStorage implementations.
""" """
__version__ = '$Revision: 1.36 $'.split()[-2:][0] __version__ = '$Revision: 1.37 $'.split()[-2:][0]
import os import os
import time import time
...@@ -136,7 +136,7 @@ class BerkeleyConfig: ...@@ -136,7 +136,7 @@ class BerkeleyConfig:
def __repr__(self): def __repr__(self):
d = self.__class__.__dict__.copy() d = self.__class__.__dict__.copy()
d.update(self.__dict__) d.update(self.__dict__)
return """<BerkeleyConfig: return """<BerkeleyConfig (read_only=%(read_only)s):
\tcheckpoint interval: %(interval)s seconds \tcheckpoint interval: %(interval)s seconds
\tcheckpoint kbytes: %(kbyte)s \tcheckpoint kbytes: %(kbyte)s
\tcheckpoint minutes: %(min)s \tcheckpoint minutes: %(min)s
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment