--- lib/debian/debian_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/debian/debian_support.py b/lib/debian/debian_support.py
index 2d1b28fb..793111b4 100644
--- a/lib/debian/debian_support.py
+++ b/lib/debian/debian_support.py
@@ -394,7 +394,7 @@ class PseudoEnum:
self._name = name
self._order = order
def __repr__(self):
- return '%s(%r)' % (self.__class__._name__, self._name)
+ return '%s(%r)' % (self.__class__.__name__, self._name)
def __str__(self):
return self._name
# TODO: Once we support only Python >= 2.7, we can simplify this using
--
2.11.0
signature.asc
Description: PGP signature
-- http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-python-debian-maint
