[PATCH 6/8] Correct a typo for a magic attribute name.
Ben Finney
bignose at debian.org
Sat Jan 14 16:26:25 UTC 2017
---
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20170115/880e1f5a/attachment.sig>
More information about the pkg-python-debian-maint
mailing list