Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py

changeset 12
1d8dd9706f46
parent 7
c679fb30c8f3
child 13
1af94a91f439
--- a/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py	Sat Jan 02 15:11:35 2010 +0000
@@ -14,11 +14,11 @@
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
-from SvnUtilities import formatTime, dateFromTime_t
-from SvnDialogMixin import SvnDialogMixin
-from SvnDiffDialog import SvnDiffDialog
+from .SvnUtilities import formatTime, dateFromTime_t
+from .SvnDialogMixin import SvnDialogMixin
+from .SvnDiffDialog import SvnDiffDialog
 
-from Ui_SvnLogBrowserDialog import Ui_SvnLogBrowserDialog
+from .Ui_SvnLogBrowserDialog import Ui_SvnLogBrowserDialog
 
 import UI.PixmapCache
 
@@ -167,7 +167,7 @@
             }
             changes.append(change)
         itm.setData(0, self.__messageRole, message)
-        itm.setData(0, self.__changesRole, unicode(changes))
+        itm.setData(0, self.__changesRole, str(changes))
         
         itm.setTextAlignment(0, Qt.AlignRight)
         itm.setTextAlignment(1, Qt.AlignLeft)
@@ -270,7 +270,7 @@
             self.__resizeColumnsLog()
             self.__resortLog()
             self.__filterLogs()
-        except pysvn.ClientError, e:
+        except pysvn.ClientError as e:
             locker.unlock()
             self.__showError(e.args[0])
         os.chdir(cwd)

eric ide

mercurial