Commit ef6b515c authored by Lorenz Huedepohl's avatar Lorenz Huedepohl
Browse files

More Python 2 idiosyncrasies

parent 7b07e4f0
Pipeline #67007 passed with stage
in 13 seconds
......@@ -70,7 +70,7 @@ def check_for_update():
url = "https://gitlab.mpcdf.mpg.de/mpcdf/osc-plugins.git"
def update_server_rev():
server_rev, _ = check_output(["git", "ls-remote", url, "master"], **set_encoding).split(maxsplit=1)
server_rev, _ = check_output(["git", "ls-remote", url, "master"], **set_encoding).split(None, 1)
with open(rev_file, "w") as fd:
fd.write(server_rev)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment