This repository was archived by the owner on Mar 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
This repository was archived by the owner on Mar 6, 2019. It is now read-only.
Make py3 compatible #57
Copy link
Copy link
Open
Description
λ otc configure
Traceback (most recent call last):
File "/usr/local/bin/otc", line 7, in <module>
from otcclient.shell import main
File "/usr/local/lib/python3.6/dist-packages/otcclient/shell.py", line 6, in <module>
from otcclient.utils.utils_output import printShortHelp
File "/usr/local/lib/python3.6/dist-packages/otcclient/utils/utils_output.py", line 125
print i,j
^
And after fixing that:
λ otc --configure
Traceback (most recent call last):
File "/usr/local/bin/otc", line 11, in <module>
load_entry_point('python-otcclient==0.3.31', 'console_scripts', 'otc')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 561, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2291, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2297, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.6/dist-packages/otcclient/shell.py", line 6, in <module>
from otcclient.utils.utils_output import printShortHelp
File "/usr/local/lib/python3.6/dist-packages/otcclient/utils/utils_output.py", line 10, in <module>
from otcclient.core.argmanager import get_help_iter
File "/usr/local/lib/python3.6/dist-packages/otcclient/core/argmanager.py", line 64
print fval
After fixing that:
λ otc --configure
Traceback (most recent call last):
File "/usr/local/bin/otc", line 11, in <module>
load_entry_point('python-otcclient==0.3.31', 'console_scripts', 'otc')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 561, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2291, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2297, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.6/dist-packages/otcclient/shell.py", line 23, in <module>
from otcclient.core.userconfigaction import userconfigaction
File "/usr/local/lib/python3.6/dist-packages/otcclient/core/userconfigaction.py", line 67
print e
^
SyntaxError: Missing parentheses in call to 'print'
I gave up after that...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels