-
Notifications
You must be signed in to change notification settings - Fork 0
/
py3versions.patch
17 lines (17 loc) · 999 Bytes
/
py3versions.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/debian/py3versions.py 2017-10-24 11:05:21.988325727 +0200
+++ b/debian/py3versions.py 2017-10-24 11:05:38.918445568 +0200
@@ -145,10 +145,10 @@
_default_version = os.readlink('/usr/bin/python3')
# consistency check
debian_default = read_default('default-version')
- if not _default_version in (debian_default, os.path.join('/usr/bin', debian_default)):
- raise ValueError("the symlink /usr/bin/python3 does not point to the "
- "python3 default version. It must be reset "
- "to point to %s" % debian_default)
+# if not _default_version in (debian_default, os.path.join('/usr/bin', debian_default)):
+# raise ValueError("the symlink /usr/bin/python3 does not point to the "
+# "python3 default version. It must be reset "
+# "to point to %s" % debian_default)
_default_version = debian_default
if version_only:
return _default_version[6:]