diff options
| author | Keda87 <adiyatmubarak@gmail.com> | 2016-12-01 08:08:51 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-12-01 08:11:09 -0500 |
| commit | 48826aa541f3a043690b90aa96f3fc07b7bc9fa9 (patch) | |
| tree | a70118cfd2a43e13ced4255e1376ee3d7145645d /django/utils/baseconv.py | |
| parent | 794b7d803359c7d510910361f4d92429b43d0e79 (diff) | |
Fixed #27546 -- Removed hardcoded class names in __repr__() methods.
Diffstat (limited to 'django/utils/baseconv.py')
| -rw-r--r-- | django/utils/baseconv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/baseconv.py b/django/utils/baseconv.py index f6c82a898a..158f0b0d92 100644 --- a/django/utils/baseconv.py +++ b/django/utils/baseconv.py @@ -55,7 +55,7 @@ class BaseConverter(object): raise ValueError('Sign character found in converter base digits.') def __repr__(self): - return "<BaseConverter: base%s (%s)>" % (len(self.digits), self.digits) + return "<%s: base%s (%s)>" % (self.__class__.__name__, len(self.digits), self.digits) def encode(self, i): neg, value = self.convert(i, self.decimal_digits, self.digits, '-') |
