Description: restore sys.argv in case of exception
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500814

Index: python-scipy-0.10.1+dfsg1/scipy/weave/build_tools.py
===================================================================
--- python-scipy-0.10.1+dfsg1.orig/scipy/weave/build_tools.py	2012-04-19 16:30:03.073017007 -0400
+++ python-scipy-0.10.1+dfsg1/scipy/weave/build_tools.py	2012-04-19 16:30:12.712727587 -0400
@@ -283,6 +283,9 @@
         configure_python_path(build_dir)
     except SyntaxError: #TypeError:
         success = 0
+    except Exception, e:
+        restore_sys_argv()
+        raise e
 
     # restore argv after our trick...
     restore_sys_argv()
