Skip to content
Snippets Groups Projects
Commit b5e152e8 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Python 3 fixes for aksetup.

parent 1043d433
No related branches found
No related tags found
No related merge requests found
......@@ -699,7 +699,7 @@ def check_git_submodules():
stdout_data, _ = popen.communicate()
if popen.returncode != 0:
git_error = "git returned error code %d" % popen.returncode
except OSError, e:
except OSError as e:
git_error = e
if git_error is not None:
......@@ -718,6 +718,7 @@ def check_git_submodules():
popen = Popen(["git", "submodule", "status"], stdout=PIPE)
stdout_data, _ = popen.communicate()
stdout_data = stdout_data.decode("ascii")
if popen.returncode != 0:
git_error = "git returned error code %d" % popen.returncode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment