mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 12:28:08 +01:00
attempting to migrate to python 3.x
This commit is contained in:
2
setup.py
2
setup.py
@@ -46,7 +46,7 @@ os.chdir(os.path.abspath(os.path.split(__file__)[0]))
|
||||
try:
|
||||
if os.path.exists('.bzr') and os.system('bzr > /dev/null 2>&1') == 0:
|
||||
try:
|
||||
os.system('bzr version-info --python > vcsinfo.py')
|
||||
os.system('bzr version-info --python > vcsinfo.py && 2to3-2.7 -w vcsinfo.py')
|
||||
except:
|
||||
pass
|
||||
import vcsinfo
|
||||
|
||||
Reference in New Issue
Block a user