564 try: |
564 try: |
565 text, encoding = Utilities.readEncodedFile(fn) |
565 text, encoding = Utilities.readEncodedFile(fn) |
566 lines = text.splitlines() |
566 lines = text.splitlines() |
567 except (UnicodeError, IOError): |
567 except (UnicodeError, IOError): |
568 count += 1 |
568 count += 1 |
569 self.progress.setValue(count) |
569 progress.setValue(count) |
570 continue |
570 continue |
571 |
571 |
572 # now search tasks and record them |
572 # now search tasks and record them |
573 lineIndex = 0 |
573 lineIndex = 0 |
574 for line in lines: |
574 for line in lines: |