From 92ab7c6b920cc8fbf2aa08df249fa1c24d3c3044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 6 Sep 2019 22:28:34 +0200 Subject: [PATCH] donate-cpu: switch to new server --- tools/donate-cpu.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/donate-cpu.py b/tools/donate-cpu.py index 576c54939..c0fcc7845 100644 --- a/tools/donate-cpu.py +++ b/tools/donate-cpu.py @@ -40,7 +40,7 @@ import platform # Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/ # Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic # changes) -CLIENT_VERSION = "1.1.34" +CLIENT_VERSION = "1.1.35" def check_requirements(): @@ -455,7 +455,7 @@ jobs = '-j1' stop_time = None work_path = os.path.expanduser('~/cppcheck-donate-cpu-workfolder') package_url = None -server_address = ('cppcheck.osuosl.org', 8000) +server_address = ('cppcheck1.osuosl.org', 8000) bandwidth_limit = None max_packages = None do_upload = True @@ -521,7 +521,7 @@ print('Thank you!') if not check_requirements(): sys.exit(1) if bandwidth_limit and isinstance(bandwidth_limit, str): - if subprocess.call(['wget', '--limit-rate=' + bandwidth_limit, '-q', '--spider', 'cppcheck.osuosl.org']) is 2: + if subprocess.call(['wget', '--limit-rate=' + bandwidth_limit, '-q', '--spider', 'cppcheck1.osuosl.org']) is 2: print('Error: Bandwidth limit value "' + bandwidth_limit + '" is invalid.') sys.exit(1) else: