##// END OF EJS Templates
enable non-copying sends in push...
MinRK -
Show More
@@ -656,7 +656,7 b' class DirectView(View):'
656 656 # applier = self.apply_sync if block else self.apply_async
657 657 if not isinstance(ns, dict):
658 658 raise TypeError("Must be a dict, not %s"%type(ns))
659 return self._really_apply(util._push, (ns,), block=block, track=track, targets=targets)
659 return self._really_apply(util._push, kwargs=ns, block=block, track=track, targets=targets)
660 660
661 661 def get(self, key_s):
662 662 """get object(s) by `key_s` from remote namespace
@@ -351,7 +351,7 b' def interactive(f):'
351 351 return f
352 352
353 353 @interactive
354 def _push(ns):
354 def _push(**ns):
355 355 """helper method for implementing `client.push` via `client.apply`"""
356 356 globals().update(ns)
357 357
General Comments 0
You need to be logged in to leave comments. Login now