From: Thierry Parmentelat Date: Thu, 22 Sep 2011 10:27:21 +0000 (+0200) Subject: cosmetic X-Git-Tag: tests-5.0-29~8 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=35ae41be8668d872b3eba23bea47d574999c5cfa;p=tests.git cosmetic --- diff --git a/system/Substrate.py b/system/Substrate.py index eaad4a9..3df5886 100644 --- a/system/Substrate.py +++ b/system/Substrate.py @@ -716,7 +716,7 @@ class TestBox (Box): def sense (self, options): print 't', self.sense_uptime() - self.starting_ips=self.backquote_ssh(['cat',Pool.starting], trash_err=True).strip().split('\n') + self.starting_ips=[x for x in self.backquote_ssh(['cat',Pool.starting], trash_err=True).strip().split('\n') if x] # scan timestamps on all tests # this is likely to not invoke ssh so we need to be a bit smarter to get * expanded @@ -1093,8 +1093,7 @@ class Substrate: # default scope if not boxes: boxes = [ b.hostname for b in \ - self.build_boxes + [ self.test_box ] + \ - self.plc_boxes + self.qemu_boxes ] + self.build_boxes + self.plc_boxes + self.qemu_boxes ] if self.options.reboot: self.reboot_boxes (boxes) else: self.list_boxes (boxes)