Fixed a porting bug in PluginManager.

Sun, 14 Feb 2010 14:16:29 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 14 Feb 2010 14:16:29 +0000
changeset 116
2add429042ef
parent 115
13d58f643b43
child 117
d63640116aec

Fixed a porting bug in PluginManager.

PluginManager/PluginManager.py file | annotate | diff | comparison | revisions
--- a/PluginManager/PluginManager.py	Sun Feb 14 14:01:08 2010 +0000
+++ b/PluginManager/PluginManager.py	Sun Feb 14 14:16:29 2010 +0000
@@ -311,7 +311,7 @@
             module.eric5PluginModuleFilename = fname
             self.__modulesCount += 1
             if reload_:
-                reload(module)
+                imp.reload(module)
         except PluginLoadError:
             print("Error loading plugin module:", name)
         except Exception as err:

eric ide

mercurial