Switch to side-by-side view
--- a/Allura/allura/command/reactor.py +++ b/Allura/allura/command/reactor.py @@ -90,6 +90,7 @@ base.log.info('=== Mark ===') def multi_worker_main(self, configs): + if self.options.dry_run: return while True: with pylons.g.amq_conn.channel() as channel: try: @@ -106,7 +107,6 @@ consumer.register_callback( self.route_react(config['tool_name'], config['method'])) consumer.consume() - if self.options.dry_run: return while True: channel.connection.drain_events() except: