diff --git a/ceilometer/transformer/__init__.py b/ceilometer/transformer/__init__.py index e69f9f7f..3df6d7f3 100644 --- a/ceilometer/transformer/__init__.py +++ b/ceilometer/transformer/__init__.py @@ -89,3 +89,4 @@ class Namespace(object): def __nonzero__(self): return len(self.__dict__) > 0 + __bool__ = __nonzero__