diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/perf_expectations/make_expectations.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/perf_expectations/make_expectations.py b/tools/perf_expectations/make_expectations.py index 4fbee207..c19cea5 100755 --- a/tools/perf_expectations/make_expectations.py +++ b/tools/perf_expectations/make_expectations.py @@ -25,10 +25,8 @@ def ReadFile(filename): file = open(filename, 'r') except IOError, e: print >> sys.stderr, ('I/O Error reading file %s(%s): %s' % - (filename, e.errno, e.strerror)) + (filename, e.errno, e.strerror)) raise e - if not file: - return None contents = file.read() file.close() return contents |