berrange/gerrymander — pull request #9 by agx (2014-05-15 14:22:40+00:00)
Title: help: Make example config match the code

get_command_alias_help looks for help not description. Otherwise you
see:

Traceback (most recent call last):
File "scripts/gerrymander", line 22, in
sys.exit(CommandTool().execute(sys.argv[1:]))
File "/var/scratch/src/gerrymander/gerrymander/gerrymander/commands.py", line 871, in execute
self.add_config_commands(subparser, config)
File "/var/scratch/src/gerrymander/gerrymander/gerrymander/commands.py", line 844, in add_config_commands
help = config.get_command_alias_help(alias)
File "/var/scratch/src/gerrymander/gerrymander/gerrymander/commands.py", line 162, in get_command_alias_help
return self.config.get(section, "help")
File "/usr/lib/python3.3/configparser.py", line 765, in get
raise NoOptionError(option, section)
configparser.NoOptionError: No option 'help' in section: 'alias-foo-changes'