Submitter | Augie Fackler |
---|---|
Date | Aug. 27, 2015, 9:22 p.m. |
Message ID | <a95e83c37395eaf43d95.1440710520@imladris.local> |
Download | mbox | patch |
Permalink | /patch/10302/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -2078,7 +2078,11 @@ class TestRunner(object): vlog("# Running", cmd) if os.system(cmd) == 0: if not self.options.verbose: - os.remove(installerrs) + try: + os.remove(installerrs) + except OSError as e: + if e.errno != errno.ENOENT: + raise else: f = open(installerrs, 'rb') for line in f: