RefactoringRope/Refactoring.py

branch
Py2 comp.
changeset 51
db9a261d8f07
parent 50
a29c3d2e6dc0
child 63
c02061242598
equal deleted inserted replaced
50:a29c3d2e6dc0 51:db9a261d8f07
15 sys.path.insert(0, os.path.dirname(__file__)) 15 sys.path.insert(0, os.path.dirname(__file__))
16 if sys.version_info[0] >= 3: 16 if sys.version_info[0] >= 3:
17 path = os.path.join(os.path.dirname(__file__), 'rope_py3') 17 path = os.path.join(os.path.dirname(__file__), 'rope_py3')
18 else: 18 else:
19 path = os.path.join(os.path.dirname(__file__), 'rope_py2') 19 path = os.path.join(os.path.dirname(__file__), 'rope_py2')
20 str = unicode 20 str = unicode # __IGNORE_WARNING__
21 sys.path.insert(0, path)
21 22
22 sys.path.insert(0, path)
23 import rope 23 import rope
24 import rope.base.libutils 24 import rope.base.libutils
25 import rope.base.exceptions 25 import rope.base.exceptions
26 26
27 from PyQt4.QtCore import QObject 27 from PyQt4.QtCore import QObject

eric ide

mercurial