[gedit-plugins] Added module name in failed reload message
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] Added module name in failed reload message
- Date: Sat, 19 Jun 2010 13:15:48 +0000 (UTC)
commit 276946e0d94549d0d800c93c73a950d28a63aafa
Author: Jesse van den Kieboom <jesse icecrew nl>
Date: Sat Jun 19 15:15:26 2010 +0200
Added module name in failed reload message
plugins/commander/commander/commands/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/commander/commander/commands/__init__.py b/plugins/commander/commander/commands/__init__.py
index b2d23f7..bb6fc88 100644
--- a/plugins/commander/commander/commands/__init__.py
+++ b/plugins/commander/commander/commands/__init__.py
@@ -386,7 +386,7 @@ class Commands(Singleton):
mod.reload()
except Exception, e:
# Reload failed, we remove the module
- print 'Failed to reload module:', e
+ print 'Failed to reload module (%s):' % (mod.name,), e
self._modules.remove(mod)
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]