From be1b38ac1486b10a702daeac5425b5995a76f3df Mon Sep 17 00:00:00 2001 From: Auke Klazema <klazema@astron.nl> Date: Wed, 13 Mar 2019 14:39:18 +0000 Subject: [PATCH] SW-609: Remove mix tab and space indentation in SAS/QPIDInfrastructure/lib/QPIDDB.py --- SAS/QPIDInfrastructure/lib/QPIDDB.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SAS/QPIDInfrastructure/lib/QPIDDB.py b/SAS/QPIDInfrastructure/lib/QPIDDB.py index 46c6c3bc4d0..bc48b7a1a08 100755 --- a/SAS/QPIDInfrastructure/lib/QPIDDB.py +++ b/SAS/QPIDInfrastructure/lib/QPIDDB.py @@ -67,9 +67,9 @@ class qpidinfra: the example will return a full list of the federated queues. """ - ret=self.db.doquery("select h1.hostname as fromhost ,h2.hostname as tohost , queuename, exchangename from queueroutes JOIN hosts as h1 on (fromhost=h1.hostid) JOIN hosts as h2 on (tohost=h2.hostid) JOIN queues on (queueid=qid) JOIN exchanges on (exchangeid=eid);") - for item in ret: - callback(item) + ret=self.db.doquery("select h1.hostname as fromhost ,h2.hostname as tohost , queuename, exchangename from queueroutes JOIN hosts as h1 on (fromhost=h1.hostid) JOIN hosts as h2 on (tohost=h2.hostid) JOIN queues on (queueid=qid) JOIN exchanges on (exchangeid=eid);") + for item in ret: + callback(item) def perqpidbinding(self,callback): """ Iterate over all exchange->queue bindings defined in the database. -- GitLab