[Session restore] Rename group name Enabled to Restore.
[chromium-blink-merge.git] / tools / valgrind / unused_suppressions.py
blob0f336f136d09e98f6932db720dc0f032dc2b6b36
1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
6 import sys
7 import urllib2
9 import suppressions
12 def main():
13 supp = suppressions.GetSuppressions()
15 all_supps = []
16 for supps in supp.values():
17 all_supps += [s.description for s in supps]
18 sys.stdout.write(urllib2.urlopen(
19 'http://chromium-build-logs.appspot.com/unused_suppressions',
20 '\n'.join(all_supps)).read())
21 return 0
23 if __name__ == "__main__":
24 sys.exit(main())