equal
deleted
inserted
replaced
312 fc += 1 |
312 fc += 1 |
313 result = False |
313 result = False |
314 if maxerr is not None and fc >= maxerr: |
314 if maxerr is not None and fc >= maxerr: |
315 print " (too many errors, giving up)" |
315 print " (too many errors, giving up)" |
316 break |
316 break |
317 break |
|
318 return result |
317 return result |
319 |
318 |
320 if __name__ == "__main__": |
319 if __name__ == "__main__": |
321 parser = optparse.OptionParser("%prog [options] [files]") |
320 parser = optparse.OptionParser("%prog [options] [files]") |
322 parser.add_option("-w", "--warnings", action="store_true", |
321 parser.add_option("-w", "--warnings", action="store_true", |