UI/FindFileDialog.py

branch
5_1_x
changeset 1113
95d837803666
parent 894
eab7b8d39807
child 1510
e75ecf2bd9dd
diff -r 8f7ebfc5b087 -r 95d837803666 UI/FindFileDialog.py
--- a/UI/FindFileDialog.py	Sat Jun 04 18:58:48 2011 +0200
+++ b/UI/FindFileDialog.py	Sun Jun 05 18:27:56 2011 +0200
@@ -591,7 +591,7 @@
                     text, encoding, hash = \
                         Utilities.readEncodedFileWithHash(fn)
                     lines = text.splitlines(True)
-                except (UnicodeError, IOError):
+                except (UnicodeError, IOError) as err:
                     E5MessageBox.critical(self,
                         self.trUtf8("Replace in Files"),
                         self.trUtf8(

eric ide

mercurial