mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
registry.py: Use %r instead of %s in for formating __nonExistentEntry errors.
This commit is contained in:
parent
73d585c0eb
commit
addb754c68
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user