diff options
Diffstat (limited to 'Lib/plat-mac/macostools.py')
-rw-r--r-- | Lib/plat-mac/macostools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/macostools.py b/Lib/plat-mac/macostools.py index 80c3727..3d5b6f8 100644 --- a/Lib/plat-mac/macostools.py +++ b/Lib/plat-mac/macostools.py @@ -106,7 +106,7 @@ def copy(src, dst, createpath=0, copydates=1, forcetype=None): sf = srcfss.FSpGetFInfo() df = dstfss.FSpGetFInfo() df.Creator, df.Type = sf.Creator, sf.Type - if forcetype != None: + if forcetype is not None: df.Type = forcetype df.Flags = (sf.Flags & COPY_FLAGS) dstfss.FSpSetFInfo(df) |