jp (base): fixed use_pubsub when pubsub_flags is not needed
This commit is contained in:
parent
1c29b1cdc1
commit
b7e2de70d7
1 changed files with 1 additions and 1 deletions
|
|
@ -755,7 +755,7 @@ class CommandBase(object):
|
|||
|
||||
self._use_pubsub = kwargs.pop('use_pubsub', False)
|
||||
if self._use_pubsub:
|
||||
flags = kwargs.pop('pubsub_flags', None)
|
||||
flags = kwargs.pop('pubsub_flags', [])
|
||||
parents.add(self.host.make_pubsub_group(flags))
|
||||
self._pubsub_flags = flags
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue