diff clients/editor/plugins/HistoryManager.py @ 265:043d71a192b5

* _ListItem in HistoryManager will now return a string object in __str__ * Editor will now print full exception when an exception occurs when opening a file
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 13 Jun 2009 15:08:42 +0000
parents e893afb4963b
children 6add14ebe9f5
line wrap: on
line diff
--- a/clients/editor/plugins/HistoryManager.py	Sat Jun 13 14:54:42 2009 +0000
+++ b/clients/editor/plugins/HistoryManager.py	Sat Jun 13 15:08:42 2009 +0000
@@ -224,7 +224,7 @@
 				self.parent = parent
 				
 			def __str__(self):
-				return self.str
+				return self.str.encode("utf-8")
 		
 		while item is not None:
 			listitem = _ListItem(u" "*indention + branchstr + " " + item.object.name, item, parent)