Tasks/TaskViewer.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 13
1af94a91f439
--- a/Tasks/TaskViewer.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/Tasks/TaskViewer.py	Sat Jan 02 15:11:35 2010 +0000
@@ -20,8 +20,8 @@
 
 from E4Gui.E4Application import e4App
 
-from TaskPropertiesDialog import TaskPropertiesDialog
-from TaskFilterConfigDialog import TaskFilterConfigDialog
+from .TaskPropertiesDialog import TaskPropertiesDialog
+from .TaskFilterConfigDialog import TaskFilterConfigDialog
 
 import UI.PixmapCache
 
@@ -771,8 +771,8 @@
             fn = os.path.join(self.project.ppath, file)
             # read the file and split it into textlines
             try:
-                f = open(fn, 'rb')
-                text, encoding = Utilities.decode(f.read())
+                f = open(fn, 'r')
+                text = f.read()
                 lines = text.splitlines()
                 f.close()
             except IOError:

eric ide

mercurial