Skip to content

Commit

Permalink
new info dict in parser
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Oct 27, 2015
1 parent 046984d commit 94379c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/netius/common/parser.py
Expand Up @@ -74,3 +74,7 @@ def set_state(self, state):
for field in fields:
value = state[field]
setattr(self, field, value)

def info_dict(self):
info = self.get_state()
return info

0 comments on commit 94379c4

Please sign in to comment.