Skip to content

Commit

Permalink
fix bug: Connect *args
Browse files Browse the repository at this point in the history
  • Loading branch information
yv84 committed Jul 7, 2014
1 parent acb00fd commit e440d33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/aa/key_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def key_packet_initialization_remover(to_c_data):


class Connect():
def __init__(self, name):
def __init__(self, name, *args, **kwargs):
self.name = name
self._data = b''
self.command_stack = [] # func(gen: types.GeneratorType) -> types.GeneratorType
Expand Down
2 changes: 1 addition & 1 deletion src/raw/key_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def key_packet_initialization_remover(to_c_data):


class Connect():
def __init__(self, name):
def __init__(self, name, *args, **kwargs):
self.name = name
self._data = b''
self.command_stack = [] # func(gen: types.GeneratorType) -> types.GeneratorType
Expand Down

0 comments on commit e440d33

Please sign in to comment.