diff options
author | cslocum <cslocum@d34015c8-bcbb-4646-8ac8-8ba5febf221d> | 2012-12-27 12:33:00 -0500 |
---|---|---|
committer | cslocum <cslocum@d34015c8-bcbb-4646-8ac8-8ba5febf221d> | 2012-12-27 12:33:00 -0500 |
commit | 00b83b8a228e8cb8ff62fe80d17b571a50d04ae8 (patch) | |
tree | eee8813eb4bbe467846a2c0ccc464e42fd7b2a15 /steuermann/run_all.py | |
parent | af21e87b9460dc695b5a45733199d1981f2e653a (diff) | |
download | steuermann-00b83b8a228e8cb8ff62fe80d17b571a50d04ae8.tar.gz |
update run_all.py to make modified call to easyargs.get()
git-svn-id: https://svn.stsci.edu/svn/ssb/etal/steuermann/trunk@919 d34015c8-bcbb-4646-8ac8-8ba5febf221d
Diffstat (limited to 'steuermann/run_all.py')
-rw-r--r-- | steuermann/run_all.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/steuermann/run_all.py b/steuermann/run_all.py index 288b9ee..fc15f93 100644 --- a/steuermann/run_all.py +++ b/steuermann/run_all.py @@ -67,7 +67,7 @@ def main() : '-h' : '=' , # give hosts (*.ini) file } - opt, args = easyargs.get(allowed_flags) + opt, args = easyargs.get(allowed_flags, allow_unexpected = True) # # @@ -97,10 +97,10 @@ def main() : db = steuermann.config.open_db() - # find any unknown arguments like --something=whatever, set as conditions arguments = sys.argv[1:] - for a in args: + for a in arguments: + print a if '--' in a and '=' in a: not_allowed_flag = True for f in allowed_flags.keys(): @@ -112,7 +112,6 @@ def main() : k, v = a.split('=') nodes.saved_conditions[k] = v - if all : run_all(xnodes, run_name, hosts_ini, db) else : |