[reprotest] 01/02: Remove obsolete leftovers of earlier code

Ximin Luo infinity0 at debian.org
Wed Sep 13 11:43:10 UTC 2017


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

infinity0 pushed a commit to branch master
in repository reprotest.

commit be40f0d644599900a319fb2c116ddb06646a78c0
Author: Ximin Luo <infinity0 at debian.org>
Date:   Tue Sep 12 16:29:34 2017 +0200

    Remove obsolete leftovers of earlier code
---
 reprotest/build.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/reprotest/build.py b/reprotest/build.py
index 16e7c7e..392dc66 100644
--- a/reprotest/build.py
+++ b/reprotest/build.py
@@ -178,12 +178,11 @@ def environment(ctx, build, vary):
 # Note: this has to go before fileordering because we can't move mountpoints
 # TODO: this variation makes it impossible to parallelise the build, for most
 # of the current virtual servers. (It's theoretically possible to make it work)
-def build_path_same(ctx, build, vary):
+def build_path(ctx, build, vary):
     if vary:
         return build
     const_path = os.path.join(dirname(build.tree), 'const_build_path')
     return build.move_tree(build.tree, const_path, True)
-build_path_same.negative = True
 
 def fileordering(ctx, build, vary):
     if not vary:
@@ -333,7 +332,7 @@ chmod +x "{0}"/fusermount
 # be executed in the container needs to be built from the inside out.
 VARIATIONS = collections.OrderedDict([
     ('environment', environment),
-    ('build_path', build_path_same),
+    ('build_path', build_path),
     ('user_group', user_group),
     # ('cpu', cpu),
     # ('domain_host', domain_host),

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git



More information about the Reproducible-commits mailing list