Skip to content

Commit

Permalink
getting back introspection, see e.g. [ http://stackoverflow.com/quest…
Browse files Browse the repository at this point in the history
  • Loading branch information
thread13 committed Mar 1, 2015
1 parent ea4f0b4 commit 7545e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions getent/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def __init__(self, p):
value = getattr(self.p.contents, attr)
setattr(self, attr, convert23(value))

def __dict__(self):
return dict(iter(self))
## def __dict__(self):
## return dict(iter(self))

def __iter__(self):
for attr in dir(self.p.contents):
Expand Down

0 comments on commit 7545e88

Please sign in to comment.