From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Mon, 7 Dec 2009 12:14:59 +0000 (+0000)
Subject: cosmetic
X-Git-Tag: tests-4.3-6~10
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2c9279bd5b3520829613760ec2c59c1160440448;p=tests.git

cosmetic
---

diff --git a/system/TestPool.py b/system/TestPool.py
index a140f07..ffe5312 100644
--- a/system/TestPool.py
+++ b/system/TestPool.py
@@ -39,6 +39,10 @@ class TestPool:
                 if busy:
                     self.busy.append(h)
                 return (h,i,u)
+        print 'TestPool.locate_entry: Could not locate entry for',hostname_or_ip
+        print 'in pool:'
+        for (h,i,u) in self.pool:
+            print "\t* ",i,"\t",h
         return None
 
     def next_free (self):
@@ -49,7 +53,7 @@ class TestPool:
                 continue
             if not self.options.quiet:
                 utils.header('TestPool : checking %s'%hostname)
-            if self.options.quiet:
+            else:
                 print '.',
             if self.free_hostname(hostname):
                 if not self.options.quiet: