From 49fc7552edfa56140a9fbf495820c07ed59b2aa3 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 19 Jan 2013 08:03:50 +0100 Subject: [PATCH] less strict when parsing ps lines on build boxes for if e.g. init-vbuild-vserver.sh is used with -P develsfa.pkgs --- system/Substrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Substrate.py b/system/Substrate.py index 163b1a9..b0d28f0 100644 --- a/system/Substrate.py +++ b/system/Substrate.py @@ -353,7 +353,7 @@ class BuildBox (Box): # inspect box and find currently running builds matcher=re.compile("\s*(?P[0-9]+).*-[bo]\s+(?P[^\s]+)(\s|\Z)") - matcher_building_vm=re.compile("\s*(?P[0-9]+).*init-vserver.*-i\s+eth.\s+(?P[^\s]+)\s*\Z") + matcher_building_vm=re.compile("\s*(?P[0-9]+).*init-vserver.*\s+(?P[^\s]+)\s*\Z") def sense(self, options): print 'bb', self.sense_uptime() -- 2.43.0