equal
deleted
inserted
replaced
608 result = True |
608 result = True |
609 |
609 |
610 try: |
610 try: |
611 with opentext(f) as fp: |
611 with opentext(f) as fp: |
612 try: |
612 try: |
613 pre = post = fp.read() |
613 pre = fp.read() |
614 except UnicodeDecodeError as e: |
614 except UnicodeDecodeError as e: |
615 print("%s while reading %s" % (e, f)) |
615 print("%s while reading %s" % (e, f)) |
616 return result |
616 return result |
617 except IOError as e: |
617 except IOError as e: |
618 print("Skipping %s, %s" % (f, str(e).split(':', 1)[0])) |
618 print("Skipping %s, %s" % (f, str(e).split(':', 1)[0])) |