mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 05:32:51 +01:00
Fix typo in registry.close().
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
This commit is contained in:
parent
d053a660b0
commit
19a8df5b46
@ -116,12 +116,12 @@ def close(registry, filename, private=True):
|
||||
try:
|
||||
x = value.__class__(value._default, value._help)
|
||||
except Exception, e:
|
||||
exception('Exception instantiating default for %s:',
|
||||
exception('Exception instantiating default for %s:' %
|
||||
value._name)
|
||||
try:
|
||||
lines.append('# Default value: %s\n' % x)
|
||||
except Exception, e:
|
||||
exception('Exception printing default value of %s:',
|
||||
exception('Exception printing default value of %s:' %
|
||||
value._name)
|
||||
lines.append('###\n')
|
||||
fd.writelines(lines)
|
||||
|
Loading…
Reference in New Issue
Block a user