FDTool
FDTool copied to clipboard
Is it easy to convert to python 3
Hi all,
As Python 2 is deprecated by now, I've tried to use 2to3 naively (without options) to convert automagically FDTool, but after conversion i got the following error.
Is there either a plan to port FDTool to Python 3 or a known way to do so using 2to3 ?
Regards.
Traceback (most recent call last):
File "/home/romulus/.local/bin/fdtool", line 11, in <module>
load_entry_point('fdtool==0.1.7', 'console_scripts', 'fdtool')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2854, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2445, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/romulus/.local/lib/python3.10/site-packages/fdtool-0.1.7-py3.10.egg/fdtool/fdtool.py", line 27, in <module>
from .modules import *
File "/home/romulus/.local/lib/python3.10/site-packages/fdtool-0.1.7-py3.10.egg/fdtool/modules/keyRun.py", line 1, in <module>
from .dbschema import dbschema
File "/home/romulus/.local/lib/python3.10/site-packages/fdtool-0.1.7-py3.10.egg/fdtool/modules/dbschema/dbschema.py", line 112
if li <= attrs and not re <= attrs:
TabError: inconsistent use of tabs and spaces in indentation