src/reportlab/lib/testutils.py
changeset 3328 4d7f836cd947
parent 3326 ce725978d11c
child 3617 ae5744e97c42
--- a/src/reportlab/lib/testutils.py	Mon Feb 08 22:28:42 2010 +0000
+++ b/src/reportlab/lib/testutils.py	Tue Feb 09 11:23:58 2010 +0000
@@ -43,7 +43,7 @@
             os.makedirs(_OUTDIR)
         except:
             pass
-        map(sys.argv.remove,D)
+        for d in D: sys.argv.remove(d)
     else:
         assert name=='__main__',"setOutDir should only be called in the main script"
         scriptDir=os.path.dirname(sys.argv[0])