RefactoringRope/RefactoringClient.py

branch
server_client_variant
changeset 216
47fb0119f0be
parent 212
f05681349336
child 245
75a35a927952
diff -r 7b46a03d8dca -r 47fb0119f0be RefactoringRope/RefactoringClient.py
--- a/RefactoringRope/RefactoringClient.py	Sun Oct 08 17:58:07 2017 +0200
+++ b/RefactoringRope/RefactoringClient.py	Sun Oct 08 19:11:45 2017 +0200
@@ -14,7 +14,9 @@
 
 sys.path.insert(0, os.path.dirname(__file__))
 if sys.version_info[0] >= 3:
-    rope_path = os.path.join(os.path.dirname(__file__), 'rope_py3')
+    # TODO: unify this
+##    rope_path = os.path.join(os.path.dirname(__file__), 'rope_py3')
+    rope_path = os.path.join(os.path.dirname(__file__), 'rope_py2')
 else:
     rope_path = os.path.join(os.path.dirname(__file__), 'rope_py2')
     str = unicode   # __IGNORE_WARNING__
@@ -183,7 +185,7 @@
             "RopeFolderName": self.__project.ropefolder.real_path,
             "DefaultConfig": self.__project._default_config(),
             "RopeHelpFile": os.path.join(
-                rope_path, "rope", "docs", "overview.txt"),
+                rope_path, "rope", "docs", "overview.rst"),
             "RopeInfo": rope.INFO,
             "RopeVersion": rope.VERSION,
             "RopeCopyright": rope.COPYRIGHT,

eric ide

mercurial