changeset 2538:0a22dc80d671

jp (base): fixed use_pubsub when pubsub_flags is not needed
author Goffi <goffi@goffi.org>
date Thu, 29 Mar 2018 08:57:27 +0200
parents 8cf58a415126
children dcc77f23e370
files frontends/src/jp/base.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/jp/base.py	Mon Mar 26 08:06:35 2018 +0200
+++ b/frontends/src/jp/base.py	Thu Mar 29 08:57:27 2018 +0200
@@ -755,7 +755,7 @@
 
         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