Index: tools/perf_expectations/make_expectations.py |
diff --git a/tools/perf_expectations/make_expectations.py b/tools/perf_expectations/make_expectations.py |
index 4fbee2075928382ba2101a3a096e3a070bab6387..c19cea5a42074711d53a5f1212ff7a03ab9f87d3 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 |