We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 681f8bb + 5308678 commit dafeea0Copy full SHA for dafeea0
lib/core/__init__.py
@@ -1,7 +1,6 @@
1
# extension library file
2
3
import os.path as op
4
-import urllib2
5
from System import Version
6
7
class Core(object):
@@ -20,6 +19,10 @@ def get_local_version():
20
19
21
# Get version inside the github repository
22
def get_git_version():
+ try:
23
+ import urllib2
24
+ except ImportError:
25
+ import urllib.request as urllib2
26
data = urllib2.urlopen('https://raw.githubusercontent.com/romangolev/pyArchitect/main/lib/core/version')
27
for line in data:
28
gitversion = line
lib/core/version
@@ -1 +1 @@
-1.3.2
+1.3.3
0 commit comments