Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpcdf
obs
osc-plugins
Commits
ef6b515c
Commit
ef6b515c
authored
Oct 31, 2019
by
Lorenz Huedepohl
Browse files
More Python 2 idiosyncrasies
parent
7b07e4f0
Pipeline
#67007
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mpcdf_common.py
View file @
ef6b515c
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment