diff --git a/horizon/utils/memoized.py b/horizon/utils/memoized.py index c3d7e7c56..6c954b553 100644 --- a/horizon/utils/memoized.py +++ b/horizon/utils/memoized.py @@ -40,7 +40,7 @@ class memoized(object): def __repr__(self): '''Return the function's docstring.''' - return self.func.__doc__ + return self.func.__doc__ or '' def __get__(self, obj, objtype): '''Support instance methods.'''