|
From: <jd...@us...> - 2008-05-17 21:47:44
|
Revision: 5183
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5183&view=rev
Author: jdh2358
Date: 2008-05-17 14:47:40 -0700 (Sat, 17 May 2008)
Log Message:
-----------
fixed backend driver cleanup
Modified Paths:
--------------
trunk/matplotlib/examples/tests/backend_driver.py
Modified: trunk/matplotlib/examples/tests/backend_driver.py
===================================================================
--- trunk/matplotlib/examples/tests/backend_driver.py 2008-05-17 21:39:46 UTC (rev 5182)
+++ trunk/matplotlib/examples/tests/backend_driver.py 2008-05-17 21:47:40 UTC (rev 5183)
@@ -205,9 +205,10 @@
if len(sys.argv)==2 and sys.argv[1]=='--clean':
for b in default_backends:
# todo: implement python recursive remove
- os.system('rm -rf %s'%b)
- print 'all clean...'
- raise SystemExit
+ print 'executing: %s'%command
+ os.system(command)
+ print 'all clean...'
+ raise SystemExit
if '--coverage' in sys.argv:
python = ['coverage.py', '-x']
sys.argv.remove('--coverage')
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|