[gedit-plugins/gnome-2-32] Added module name in failed reload message



commit 8cd486579f4a1cb175331d49a49a0dc1dd78b724
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]