From 637eb111b84c422d43d344137ddfaf632eea24f2 Mon Sep 17 00:00:00 2001 From: "Mike A. Trethewey" Date: Thu, 27 Feb 2020 01:20:17 -0800 Subject: [PATCH] Open for writing --- build-app_version.py | 2 +- resources/ci/common/prepare_binary.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/build-app_version.py b/build-app_version.py index 87660345..110f2cf0 100644 --- a/build-app_version.py +++ b/build-app_version.py @@ -1,5 +1,5 @@ from Main import __version__ as DRVersion import os -with(open(os.path.join("resources","app","manifests","app_version.txt"))) as f: +with(open(os.path.join("resources","app","manifests","app_version.txt"),"w+")) as f: f.write(DRVersion) diff --git a/resources/ci/common/prepare_binary.py b/resources/ci/common/prepare_binary.py index bc4e0d09..583c7d7b 100644 --- a/resources/ci/common/prepare_binary.py +++ b/resources/ci/common/prepare_binary.py @@ -7,9 +7,6 @@ from shutil import copy, make_archive, move, rmtree # file manipulation env = common.prepare_env() -if "OS_NAME" in env and env["OS_NAME"] == "osx": - subprocess.check_call(["ls","-l"]) - # make dir to put the binary in if not os.path.isdir(os.path.join("..","artifact")): os.mkdir(os.path.join("..","artifact"))