summaryrefslogtreecommitdiff
path: root/numpy/distutils/interactive.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2006-04-24 19:13:17 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2006-04-24 19:13:17 +0000
commit79ff23570f076f23f34c35a64b9530ffc672808a (patch)
treeda09d50c26b86959aba7573ae75f7428e14fcc41 /numpy/distutils/interactive.py
parentf908c6ab7984c839bf182f2261e926f0c28827a8 (diff)
downloadnumpy-79ff23570f076f23f34c35a64b9530ffc672808a.tar.gz
Minor bug fix in interactive sys.argv set feature.
Diffstat (limited to 'numpy/distutils/interactive.py')
-rw-r--r--numpy/distutils/interactive.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/distutils/interactive.py b/numpy/distutils/interactive.py
index 3ad3ef776..dd3ab2f34 100644
--- a/numpy/distutils/interactive.py
+++ b/numpy/distutils/interactive.py
@@ -115,10 +115,12 @@ def interactive_sys_argv(argv):
c_compiler_name = task[1:]
if c_compiler_name=='none':
c_compiler_name = None
+ continue
if task[0]=='f':
f_compiler_name = task[1:]
if f_compiler_name=='none':
f_compiler_name = None
+ continue
if task[0]=='2' and len(task)>1:
prefix = task[1:]
task = task[0]
@@ -126,6 +128,7 @@ def interactive_sys_argv(argv):
prefix = None
if task == '4':
argv[1:] = ['sdist','-f']
+ continue
elif task in '01235':
cmd_opts = {'config':[],'config_fc':[],
'build_ext':[],'build_src':[],