eric7/Globals/__init__.py

branch
eric7
changeset 8468
57ed532d4cde
parent 8467
bccf0a3fa67c
child 8501
7b5f10581c35
--- a/eric7/Globals/__init__.py	Sat Jul 17 15:15:03 2021 +0200
+++ b/eric7/Globals/__init__.py	Sat Jul 17 15:42:09 2021 +0200
@@ -14,7 +14,6 @@
 import sys
 import os
 import re
-import shutil
 import contextlib
 
 from PyQt6.QtCore import (
@@ -204,18 +203,6 @@
         hp = configDir
     else:
         cdn = ".eric7"
-        if isWindowsPlatform():
-            # migrate the old config directory (< v18.06)
-            cdnOld = "_eric7"
-            hpOld = os.path.join(os.path.expanduser("~"), cdnOld)
-            if os.path.exists(hpOld):
-                hpNew = os.path.join(os.path.expanduser("~"), cdn)
-                if os.path.exists(hpNew):
-                    # simply delete the old config directory
-                    shutil.rmtree(hpOld, True)
-                else:
-                    os.rename(hpOld, hpNew)
-        
         hp = os.path.join(os.path.expanduser("~"), cdn)
         if not os.path.exists(hp):
             os.mkdir(hp)

eric ide

mercurial