diff --git a/src/registry.py b/src/registry.py index 25dbc2fee..87fb1d3d2 100644 --- a/src/registry.py +++ b/src/registry.py @@ -204,7 +204,7 @@ class Group(object): raise ValueError, 'Groups have no value.' def __nonExistentEntry(self, attr): - s = '%s is not a valid entry in %s' % (attr, self._name) + s = '%r is not a valid entry in %r' % (attr, self._name) raise NonExistentRegistryEntry, s def __makeChild(self, attr, s):