diff --git a/grip/exceptions.py b/grip/exceptions.py index d923b2c..9911a9d 100644 --- a/grip/exceptions.py +++ b/grip/exceptions.py @@ -20,7 +20,7 @@ def __init__(self, path=None, message=None): errno.ENOENT, 'README not found', path) def __repr__(self): - return '{0}({!r}, {!r})'.format( + return '{}({!r}, {!r})'.format( type(self).__name__, self.path, self.message) def __str__(self):