diff options
Diffstat (limited to 'obnamlib/structurederror.py')
-rw-r--r-- | obnamlib/structurederror.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/obnamlib/structurederror.py b/obnamlib/structurederror.py index 18c13e5a..16051743 100644 --- a/obnamlib/structurederror.py +++ b/obnamlib/structurederror.py @@ -100,8 +100,8 @@ class StructuredError(Exception): summer = hashlib.md5() summer.update(self.__class__.__name__) summer.update(self.__class__.__module__) - hash = summer.hexdigest()[:5] - return 'R{0}X'.format(hash.upper()) + shorthash = summer.hexdigest()[:5] + return 'R{0}X'.format(shorthash.upper()) def _format_msg(self, template): # In case template is a docstring, remove leading whitespace |