Slightly fixed a formatting issue.

This commit is contained in:
Jeremy Fincher 2004-02-16 08:41:26 +00:00
parent c5aa3f0112
commit bd7c758dee

View File

@ -86,8 +86,8 @@ def close(registry, filename, annotated=True, helpOnceOnly=False):
else:
lines.insert(0, '\n')
if hasattr(value, 'value'):
lines.append('#\n')
if value.showDefault:
lines.append('#\n')
try:
original = value.value
value.value = value.default