diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-09 22:51:23 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-09 22:51:23 +0000 |
commit | 72233fdd79e63fbc6cb4822166da391d8b39d427 (patch) | |
tree | 5b016864df856c4fc7b8ef7af89532cc4dd7e40b /tools/perf_expectations/make_expectations.py | |
parent | 68a3c8e55305c72c9e8450dd94d786fe04473173 (diff) | |
download | chromium_src-72233fdd79e63fbc6cb4822166da391d8b39d427.zip chromium_src-72233fdd79e63fbc6cb4822166da391d8b39d427.tar.gz chromium_src-72233fdd79e63fbc6cb4822166da391d8b39d427.tar.bz2 |
Update nacl_helper-data expectations
Increase of about 2.5K. Confirmed with jln@ on #chromium that this is
reasonable from r239550.
Also, fix file mode opening in make_expectations.py so that
the script works on Windows and doesn't change every line.
R=vadimt@chromium.org, andrewhayden@chromium.org, jln@chromium.org
Review URL: https://codereview.chromium.org/110793002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239579 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/perf_expectations/make_expectations.py')
-rwxr-xr-x | tools/perf_expectations/make_expectations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf_expectations/make_expectations.py b/tools/perf_expectations/make_expectations.py index 6b9efff..ce84c22 100755 --- a/tools/perf_expectations/make_expectations.py +++ b/tools/perf_expectations/make_expectations.py @@ -33,7 +33,7 @@ USAGE = '' def ReadFile(filename): try: - file = open(filename, 'r') + file = open(filename, 'rb') except IOError, e: print >> sys.stderr, ('I/O Error reading file %s(%s): %s' % (filename, e.errno, e.strerror)) @@ -104,7 +104,7 @@ def GetRowDigest(rowdata, key): def WriteJson(filename, data, keys, calculate_sha1=True): """Write a list of |keys| in |data| to the file specified in |filename|.""" try: - file = open(filename, 'w') + file = open(filename, 'wb') except IOError, e: print >> sys.stderr, ('I/O Error writing file %s(%s): %s' % (filename, e.errno, e.strerror)) |