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.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to