[gedit-plugins] Reset default func prop cache when reloading module
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] Reset default func prop cache when reloading module
- Date: Tue, 23 Mar 2010 12:31:41 +0000 (UTC)
commit 968a348ed0cb8d286ca574cee367722e29c6cf9b
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date: Tue Mar 23 13:31:30 2010 +0100
Reset default func prop cache when reloading module
plugins/commander/commander/commands/module.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/commander/commander/commands/module.py b/plugins/commander/commander/commands/module.py
index f7bcb3f..481fa0b 100644
--- a/plugins/commander/commander/commands/module.py
+++ b/plugins/commander/commander/commands/module.py
@@ -117,6 +117,8 @@ class Module(method.Method):
self.method = self.mod.__dict__['__default__']
else:
self.method = None
+
+ self._func_props = None
except:
sys.path = oldpath
self._rollback.uninstall()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]