Bug on passing forced values to DataConsumer fixed
authorlaurent
Mon, 07 Dec 2009 21:27:23 +0100
changeset 476 92f449479084
parent 475 44fea837f813
child 477 f66a092b6e74
Bug on passing forced values to DataConsumer fixed
plugger.py
--- a/plugger.py	Mon Dec 07 21:15:30 2009 +0100
+++ b/plugger.py	Mon Dec 07 21:27:23 2009 +0100
@@ -1713,7 +1713,7 @@
                 function = getattr(weakcallable, function_name, None)
                 if function is not None:
                     if status == "Forced":
-                        function(*(cargs + [True] + args), **kwargs)
+                        function(*(cargs + (True,) + args), **kwargs)
                     else:
                         function(*(cargs + args), **kwargs)
                 # This will block thread if more than one call is waiting