Changeset 278668 in webkit
- Timestamp:
- Jun 9, 2021, 12:53:39 PM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/CISupport/test-result-archive
r231336 r278668 64 64 try: 65 65 os.unlink(archiveFile) 66 except OSError ,e:66 except OSError as e: 67 67 if e.errno != 2: 68 68 raise … … 71 71 # Ensure that layoutTestResultsDir exists since we cannot archive a directory that does not exist 72 72 os.makedirs(layoutTestResultsDir) 73 except OSError ,e:73 except OSError as e: 74 74 if e.errno != 17: 75 75 raise … … 93 93 try: 94 94 shutil.rmtree(layoutTestResultsDir) 95 except OSError ,e:95 except OSError as e: 96 96 97 97 # Python in Cygwin throws a mysterious exception with errno of 90 -
trunk/Tools/ChangeLog
r278656 r278668 1 2021-06-09 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 CISupport/test-result-archive script reports "SyntaxError: invalid syntax" with Python 3 4 https://bugs.webkit.org/show_bug.cgi?id=226797 5 6 Reviewed by Jonathan Bedard. 7 8 * CISupport/test-result-archive: 9 (archive_test_results): Replaced the old syntax with 'as' for 10 'except' clauses. 11 1 12 2021-06-08 Yusuke Suzuki <ysuzuki@apple.com> 2 13
Note:
See TracChangeset
for help on using the changeset viewer.