eric6/PluginManager/PluginInstallDialog.py

branch
without_py2_and_pyqt4
changeset 7192
a22eee00b052
parent 6942
2602857055c5
child 7229
53054eb5b15a
diff -r 960850ec284c -r a22eee00b052 eric6/PluginManager/PluginInstallDialog.py
--- a/eric6/PluginManager/PluginInstallDialog.py	Sat Aug 31 12:29:57 2019 +0200
+++ b/eric6/PluginManager/PluginInstallDialog.py	Sat Aug 31 12:58:11 2019 +0200
@@ -477,9 +477,6 @@
         if doCompile:
             dirName = os.path.join(destination, packageName)
             files = os.path.join(destination, pluginFileName)
-            if sys.version_info[0] == 2:
-                dirName = dirName.encode(sys.getfilesystemencoding())
-                files = files.encode(sys.getfilesystemencoding())
             os.path.join_unicode = False
             compileall.compile_dir(dirName, quiet=True)
             compileall.compile_file(files, quiet=True)

eric ide

mercurial