Permalink
Browse files

init parent class: empty dict

  • Loading branch information...
1 parent 4de3fd6 commit b06a9f767f637a42e94ae79c137188af8fc8df7f @andreisavu committed Jul 16, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 zoocfg.py
View
@@ -44,6 +44,8 @@ def from_file(cls, file_name):
return cls(open(file_name).read())
def __init__(self, content=''):
+ super(ZooCfg, self).__init__()
+
self.update(self._defaults)
self.update(self._parse(content))
self._warnings, self._errors = Rules.check_all(self)

0 comments on commit b06a9f7

Please sign in to comment.