Skip to content

Commit

Permalink
Typo and flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cwacek committed Sep 12, 2013
1 parent 85109cf commit a41ba39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion inettopology/util/structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,10 @@ def __len__(self):
def num_processed(self):
return self._redis.scard(self._set)


class ConnectionInfo(object):

def __init__(self,**kwargs):
def __init__(self, **kwargs):
self.port = kwargs['port'] if 'port' in kwargs else '6379'
self.host = kwargs['host'] if 'host' in kwargs else 'localhost'
self.db = kwargs['db'] if 'db' in kwargs else 'db'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

install_requires=[
"redis",
"argparse",
"argparse"
],

entry_points={
Expand Down

0 comments on commit a41ba39

Please sign in to comment.