gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-deployment] branch master updated: No regex match ag


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: No regex match against paths.
Date: Mon, 22 Apr 2019 16:45:44 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new d7009b3  No regex match against paths.
d7009b3 is described below

commit d7009b3fec6718e03c4bc88c0202859d3722e883
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Apr 22 16:45:20 2019 +0200

    No regex match against paths.
---
 buildbot/master.cfg | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 45a4490..eb818c7 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -1,4 +1,5 @@
 import re
+from getpass import getuser
 from buildbot.steps.source.git import Git
 from buildbot.steps.shell import ShellCommand
 from buildbot.plugins import (reporters,
@@ -495,8 +496,7 @@ def pick_active_color(builder, workers_list, build_request):
     print("Found active color: %s" % str(active))
 
     for worker in workers_list:
-        if re.search("^/home/%s" % active,
-                     worker.worker.worker_basedir):
+        if active == getuser():
             f.close()
             print("Scheduling worker: %s" % str(worker))
             return worker
@@ -540,8 +540,7 @@ def pick_inactive_color(builder, workers_list, 
build_request):
     print("Found nonactive color: %s" % str(nonactive))
 
     for worker in workers_list:
-        if re.search("^/home/%s" % nonactive,
-                     worker.worker.worker_basedir):
+        if nonactive == getuser():
             f.close()
             print("Scheduling worker: %s" % str(worker))
             return worker

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]