From 15fadbece9e578aae84a2bb7571a354a1f4900a3 Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Tue, 30 Apr 2013 16:55:16 +0200 Subject: [PATCH] update common_code: preset NO_UPLOAD even if it's not set in env --- common_code.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common_code.py b/common_code.py index 0b13caf..cba42eb 100755 --- a/common_code.py +++ b/common_code.py @@ -41,6 +41,10 @@ def exit_error(): ENV = os.environ ENV.update({'ARGV': ' '.join(sys.argv)}) +try: + ENV.update({'NO_UPLOAD': ENV['NO_UPLOAD']}) +else: + ENV.update({'NO_UPLOAD': False}) BIN_GIT = '/usr/bin/git' BIN_RM = '/bin/rm' -- 2.39.5