##// END OF EJS Templates
fix a couple of default block values...
MinRK -
Show More
@@ -379,7 +379,7 class View(HasTraits):
379 379 # Decorators
380 380 #-------------------------------------------------------------------
381 381
382 def remote(self, block=True, **flags):
382 def remote(self, block=None, **flags):
383 383 """Decorator for making a RemoteFunction"""
384 384 block = self.block if block is None else block
385 385 return remote(self, block=block, **flags)
@@ -797,7 +797,7 class DirectView(View):
797 797 def __setitem__(self,key, value):
798 798 self.update({key:value})
799 799
800 def clear(self, targets=None, block=False):
800 def clear(self, targets=None, block=None):
801 801 """Clear the remote namespaces on my engines."""
802 802 block = block if block is not None else self.block
803 803 targets = targets if targets is not None else self.targets
General Comments 0
You need to be logged in to leave comments. Login now