From f75f69bdb4e9ebbe32ab818b161df3d12bd95f50 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Tue, 12 Apr 2016 13:43:00 +0000
Subject: [PATCH] Task #8887: Use "qpidinfra" by default

---
 SAS/ResourceAssignment/QPIDInfrastructure/bin/addtoQPIDDB.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SAS/ResourceAssignment/QPIDInfrastructure/bin/addtoQPIDDB.py b/SAS/ResourceAssignment/QPIDInfrastructure/bin/addtoQPIDDB.py
index 66714798e66..c71107c7313 100755
--- a/SAS/ResourceAssignment/QPIDInfrastructure/bin/addtoQPIDDB.py
+++ b/SAS/ResourceAssignment/QPIDInfrastructure/bin/addtoQPIDDB.py
@@ -14,7 +14,7 @@ if __name__ == '__main__':
     parser.add_option('-q', '--queue', dest='queue', type='string', default=None, help='Name of the queue on the broker')
     parser.add_option('-e', '--exchange', dest='exchange', type='string', default=None, help='Name of the exchange on the broker')
     parser.add_option('-k', '--routingkey', dest='routingkey', type='string', default='#', help='Federation routing key')
-    parser.add_option_group(dbcredentials.options_group(parser))
+    parser.add_option_group(dbcredentials.options_group(parser, "qpidinfra"))
 
     (options, args) = parser.parse_args()
 
@@ -22,7 +22,7 @@ if __name__ == '__main__':
 	 parser.print_help()
 	 sys.exit(0)
 
-    dbcreds = dbcredentials.parse_options(options, "qpidinfra")
+    dbcreds = dbcredentials.parse_options(options)
     QPIDinfra = qpidinfra(dbcreds)
 
     if (options.broker==None):
-- 
GitLab