WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
find-mismatched-results.py
find-mismatched-results.py (text/x-python-script), 702 bytes, created by
Mihai Parparita
on 2011-02-25 11:06:08 PST
(
hide
)
Description:
find-mismatched-results.py
Filename:
MIME Type:
Creator:
Mihai Parparita
Created:
2011-02-25 11:06:08 PST
Size:
702 bytes
patch
obsolete
>import os >import os.path >import sys > >for dirpath, dirnames, filenames in os.walk(sys.argv[1]): > checksum_files = set() > png_files = set() > > for filename in filenames: > name, extension = os.path.splitext(filename) > if extension == ".checksum": > checksum_files.add(name) > elif extension == ".png": > png_files.add(name) > > no_checksum = checksum_files.difference(png_files) > no_png = png_files.difference(checksum_files) > if no_checksum or no_png: > print "In directory %s" % dirpath > if no_checksum: > print " No checksum:" > for f in no_checksum: > print " %s" % f > if no_png: > print " No PNG:" > for f in no_png: > print " %s" % f
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 55236
: 83842 |
83846
|
84809
|
84985