| OLD | NEW |
| 1 #!/usr/bin/env python |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 4 | 5 |
| 5 from collections import defaultdict | 6 from collections import defaultdict |
| 6 import os | 7 import os |
| 7 import re | 8 import re |
| 8 import sys | 9 import sys |
| 9 | 10 |
| 10 import path_utils | 11 import path_utils |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 print ("%d unique reports don't match any of the suppressions" % | 124 print ("%d unique reports don't match any of the suppressions" % |
| 124 reports_count) | 125 reports_count) |
| 125 else: | 126 else: |
| 126 print "Congratulations! All reports are suppressed!" | 127 print "Congratulations! All reports are suppressed!" |
| 127 # TODO(timurrrr): also make sure none of the old suppressions | 128 # TODO(timurrrr): also make sure none of the old suppressions |
| 128 # were narrowed too much. | 129 # were narrowed too much. |
| 129 | 130 |
| 130 | 131 |
| 131 if __name__ == "__main__": | 132 if __name__ == "__main__": |
| 132 main(sys.argv[1:]) | 133 main(sys.argv[1:]) |
| OLD | NEW |