changeset 2b9665a0d5ed in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=2b9665a0d5ed
description: first load the plugins of the user directory. does not load the module twice.
diffstat:
src/plugins/pluginmanager.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 1ec7b818e2c8 -r 2b9665a0d5ed src/plugins/pluginmanager.py
--- a/src/plugins/pluginmanager.py Sat Aug 04 17:14:34 2012 +0200
+++ b/src/plugins/pluginmanager.py Thu Aug 09 21:48:00 2012 +0400
@@ -100,7 +100,7 @@
'''
Registered handlers of GUI extension points.
'''
- for path in gajim.PLUGINS_DIRS:
+ for path in [gajim.PLUGINS_DIRS[1], gajim.PLUGINS_DIRS[0]):
pc = PluginManager.scan_dir_for_plugins(path)
self.add_plugins(pc)
self._activate_all_plugins_from_global_config()
@@ -433,6 +433,9 @@
elif os.path.isdir(file_path) and scan_dirs:
module_name = elem_name
+ if module_name in sys.modules:
+ # do not load the module twice
+ continue
file_path += os.path.sep
try:
module = __import__(module_name)
changeset 4eb2a1c69e3f in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=4eb2a1c69e3f
description: [Darlan]. typo
diffstat:
src/command_system/implementation/standard.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 1f8e1c86b81e -r 4eb2a1c69e3f src/command_system/implementation/standard.py
--- a/src/command_system/implementation/standard.py Thu Jul 19 22:47:47 2012 +0400
+++ b/src/command_system/implementation/standard.py Sat Jul 28 22:46:11 2012 +0400
@@ -127,7 +127,7 @@
@command(raw=True, empty=True)
@doc(_("""
- Set current the status
+ Set the current status
Status can be given as one of the following values: online, away,
chat, xa, dnd.