Simplify expression

This commit is contained in:
Neal Norwitz 2007-08-17 04:15:19 +00:00
parent 540d987d34
commit 5ef262c35f

View file

@ -13,7 +13,7 @@ import io
import sys
import mhlib
if sys.platform.startswith("win") or sys.platform.startswith("atheos"):
if sys.platform.startswith(("win", "atheos")):
# mhlib.updateline() renames a file to the name of a file that already
# exists. That causes a reasonable OS <wink> to complain in test_sequence
# here, like the "OSError: [Errno 17] File exists" raised on Windows.