Commit d1ab76c5 authored by Sebastian Ohlmann's avatar Sebastian Ohlmann
Browse files

Fix python2 incompatibility

parent d53a573d
Pipeline #67358 passed with stage
in 15 seconds
......@@ -52,7 +52,9 @@ def check_for_update():
import os
import sys
import time
from subprocess import check_output, call, DEVNULL
from subprocess import check_output, call
DEVNULL = open(os.devnull, 'w')
if hasattr(sys.modules["mpcdf_common"], "checked_for_updates"):
return
......
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