##// END OF EJS Templates
Fix a NameError in IPython.parallel
Thomas Kluyver -
Show More
@@ -56,7 +56,7 b' class dependent(object):'
56
56
57 def __init__(self, _wrapped_f, _wrapped_df, *dargs, **dkwargs):
57 def __init__(self, _wrapped_f, _wrapped_df, *dargs, **dkwargs):
58 self.f = _wrapped_f
58 self.f = _wrapped_f
59 name = getattr(f, '__name__', 'f')
59 name = getattr(_wrapped_f, '__name__', 'f')
60 if py3compat.PY3:
60 if py3compat.PY3:
61 self.__name__ = name
61 self.__name__ = name
62 else:
62 else:
General Comments 0
You need to be logged in to leave comments. Login now