[rhmessaging-commits] rhmessaging commits: r1304 - mgmt/mint/bin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Tue Nov 13 15:01:06 EST 2007


Author: justi9
Date: 2007-11-13 15:01:06 -0500 (Tue, 13 Nov 2007)
New Revision: 1304

Modified:
   mgmt/mint/bin/mint-test
Log:
Adds a sleep-forever loop.



Modified: mgmt/mint/bin/mint-test
===================================================================
--- mgmt/mint/bin/mint-test	2007-11-13 19:45:55 UTC (rev 1303)
+++ mgmt/mint/bin/mint-test	2007-11-13 20:01:06 UTC (rev 1304)
@@ -16,13 +16,18 @@
 except IndexError:
     usage()
 
-from mint import *
 from qpid.management import ManagedBroker
+from time import sleep
 
+from mint import *
+
 def do_main(dburi, brokerhost, brokerport):
     model = MintModel()
     model.addManagedBroker(brokerhost, brokerport)
 
+    while (True):
+        sleep(5)
+
 def main():
     if len(sys.argv) != 3:
         usage()




More information about the rhmessaging-commits mailing list