Skip to content

Commit b31bcff

Browse files
melvinwchanglan
authored andcommitted
pybess: don't pass self to BESS.attach_module() (#521)
1 parent 866f141 commit b31bcff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pybess/bess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def attach_task(self, module_name, parent='', wid=-1,
521521

522522
# Deprecated alias for attach_task
523523
def attach_module(self, *args, **kwargs):
524-
return self.attach_task(self, *args, **kwargs)
524+
return self.attach_task(*args, **kwargs)
525525

526526
def get_tc_stats(self, name):
527527
request = bess_msg.GetTcStatsRequest()

0 commit comments

Comments
 (0)