diff --git a/SAS/ResourceAssignment/QPIDInfrastructure/bin/addtoQPIDDB.py b/SAS/ResourceAssignment/QPIDInfrastructure/bin/addtoQPIDDB.py index 04d76ae733ecc43baa31e4deb10ead33e40f890c..0d12ef72902e485b4e1eb508412dc1323d95edc7 100755 --- a/SAS/ResourceAssignment/QPIDInfrastructure/bin/addtoQPIDDB.py +++ b/SAS/ResourceAssignment/QPIDInfrastructure/bin/addtoQPIDDB.py @@ -44,13 +44,13 @@ if __name__ == '__main__': QPIDinfra.addhost(options.federation) if (options.queue): QPIDinfra.addqueue(options.queue) # should be superfluous - ecxchange='' + exchange='' if (options.exchange): QPIDinfra.addexchange(options.exchange) exchange=options.exchange QPIDinfra.bindqueuetohost(options.queue,options.federation) - QPIDinfra.setqueueroute(options.queue,options.broker,options.federation,options.exchange) + QPIDinfra.setqueueroute(options.queue,options.broker,options.federation,exchange) else: if (options.exchange): QPIDinfra.addexchange(options.exchange) # should be superfluous