[wwwsearch-commits] r32610 - wwwsearch/mechanize/trunk/test
jjlee at codespeak.net
jjlee at codespeak.net
Sat Sep 23 18:05:12 CEST 2006
Author: jjlee
Date: Sat Sep 23 18:05:09 2006
New Revision: 32610
Modified:
wwwsearch/mechanize/trunk/test/test_mechanize.py
Log:
Don't crash in tests on trying to clean up temp files Windows (I hope)
Modified: wwwsearch/mechanize/trunk/test/test_mechanize.py
==============================================================================
--- wwwsearch/mechanize/trunk/test/test_mechanize.py (original)
+++ wwwsearch/mechanize/trunk/test/test_mechanize.py Sat Sep 23 18:05:09 2006
@@ -21,8 +21,8 @@
except OSError:
if os.name=='nt':
try:
- os.chmod(arg, stat.S_IWRITE)
- os.remove(arg)
+ os.chmod(filename, stat.S_IWRITE)
+ os.remove(filename)
except OSError:
pass
More information about the wwwsearch-commits
mailing list