summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/EasyDialogs.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-01-21 22:57:53 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-01-21 22:57:53 (GMT)
commite1c4f0b2006c06e5400ede67f2f77b9f1598c580 (patch)
treee29e75f20ce4ed3a613a1d3abf0aa6962e7e076d /Lib/plat-mac/EasyDialogs.py
parentcd9a8b6bcfe7a58abaf6097f12012342655e7baa (diff)
downloadcpython-e1c4f0b2006c06e5400ede67f2f77b9f1598c580.zip
cpython-e1c4f0b2006c06e5400ede67f2f77b9f1598c580.tar.gz
cpython-e1c4f0b2006c06e5400ede67f2f77b9f1598c580.tar.bz2
Tuples and lists don't have a copy() method (yet?).
Diffstat (limited to 'Lib/plat-mac/EasyDialogs.py')
-rw-r--r--Lib/plat-mac/EasyDialogs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/EasyDialogs.py b/Lib/plat-mac/EasyDialogs.py
index 119adfa..1d67091 100644
--- a/Lib/plat-mac/EasyDialogs.py
+++ b/Lib/plat-mac/EasyDialogs.py
@@ -576,7 +576,7 @@ def _process_Nav_args(dftflags, **args):
defaultLocation = Carbon.File.FSRef(defaultLocation)
args['defaultLocation'] = aepack.pack(defaultLocation)
if args.has_key('typeList') and not isinstance(args['typeList'], Carbon.Res.ResourceType):
- typeList = args['typeList'].copy()
+ typeList = args['typeList'][:]
# Workaround for OSX typeless files:
if 'TEXT' in typeList and not '\0\0\0\0' in typeList:
typeList = typeList + ('\0\0\0\0',)