UI/DiffDialog.py

changeset 42
23b45a742e17
parent 13
1af94a91f439
child 45
9a18f4dbb493
diff -r 572a009369f0 -r 23b45a742e17 UI/DiffDialog.py
--- a/UI/DiffDialog.py	Fri Jan 08 19:14:19 2010 +0000
+++ b/UI/DiffDialog.py	Sat Jan 09 19:43:36 2010 +0000
@@ -324,7 +324,7 @@
         except IOError:
             filemtime1 = ""
         try:
-            f1 = open(self.filename1, "rb")
+            f1 = open(self.filename1, "r")
             lines1 = f1.readlines()
             f1.close()
         except IOError:
@@ -340,7 +340,7 @@
         except IOError:
             filemtime2 = ""
         try:
-            f2 = open(self.filename2, "rb")
+            f2 = open(self.filename2, "r")
             lines2 = f2.readlines()
             f2.close()
         except IOError:
@@ -477,7 +477,7 @@
         """
         self.__selectFile(self.file1Edit)
 
-    @pyqtSlot("")
+    @pyqtSlot()
     def on_file2Button_clicked(self):
         """
         Private slot to handle the file 2 file selection button press.

eric ide

mercurial