config.config errors, perhaps due to reorg

svn: r19870
This commit is contained in:
Doug Blank 2012-06-18 22:52:16 +00:00
parent daa01defab
commit 7b4271e6a3

View File

@ -291,12 +291,12 @@ class ArgParser(object):
self.list_more = True self.list_more = True
elif option in ('-s','--show'): elif option in ('-s','--show'):
print "Gramps config settings from %s:" % \ print "Gramps config settings from %s:" % \
config.config.filename.encode(sys.getfilesystemencoding()) config.filename.encode(sys.getfilesystemencoding())
for section in config.config.data: for section in config.data:
for setting in config.config.data[section]: for setting in config.data[section]:
print "%s.%s=%s" % ( print "%s.%s=%s" % (
section, setting, section, setting,
repr(config.config.data[section][setting])) repr(config.data[section][setting]))
print print
sys.exit(0) sys.exit(0)
elif option in ('-c', '--config'): elif option in ('-c', '--config'):