details: http://www.bx.psu.edu/hg/galaxy/rev/e600ab3fadc1 changeset: 3677:e600ab3fadc1 user: rc date: Wed Apr 21 11:44:19 2010 -0400 description: fixed the amqp config bug diffstat: lib/galaxy/config.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diffs (16 lines): diff -r afbdedd0e758 -r e600ab3fadc1 lib/galaxy/config.py --- a/lib/galaxy/config.py Wed Apr 21 11:42:50 2010 -0400 +++ b/lib/galaxy/config.py Wed Apr 21 11:44:19 2010 -0400 @@ -125,7 +125,11 @@ self.enable_cloud_execution = string_as_bool( kwargs.get( 'enable_cloud_execution', 'False' ) ) # Galaxy messaging (AMQP) configuration options self.amqp = {} - for k, v in global_conf_parser.items("galaxy_amqp"): + try: + amqp_config = global_conf_parser.items("galaxy_amqp") + except ConfigParser.NoSectionError: + amqp_config = {} + for k, v in amqp_config: self.amqp[k] = v def get( self, key, default ): return self.config_dict.get( key, default )