diff --git a/IPython/parallel/client/view.py b/IPython/parallel/client/view.py index 477e856..809b1ed 100644 --- a/IPython/parallel/client/view.py +++ b/IPython/parallel/client/view.py @@ -379,7 +379,7 @@ class View(HasTraits): # Decorators #------------------------------------------------------------------- - def remote(self, block=True, **flags): + def remote(self, block=None, **flags): """Decorator for making a RemoteFunction""" block = self.block if block is None else block return remote(self, block=block, **flags) @@ -797,7 +797,7 @@ class DirectView(View): def __setitem__(self,key, value): self.update({key:value}) - def clear(self, targets=None, block=False): + def clear(self, targets=None, block=None): """Clear the remote namespaces on my engines.""" block = block if block is not None else self.block targets = targets if targets is not None else self.targets