diff options
author | kennyballou <kballou@onyx.boisestate.edu> | 2013-01-21 14:57:18 -0700 |
---|---|---|
committer | kennyballou <kballou@onyx.boisestate.edu> | 2013-01-21 14:57:18 -0700 |
commit | 8971b279e95944db04c8a2e03ff45aa56d6ce525 (patch) | |
tree | e882c1a38b85e8fce3674322adf99ba5d1a0c913 /xnt/xenant.py | |
parent | a4227e297f6a531cd632dc3123ce2096b6f11ced (diff) | |
download | xnt-8971b279e95944db04c8a2e03ff45aa56d6ce525.tar.gz xnt-8971b279e95944db04c8a2e03ff45aa56d6ce525.tar.xz |
Update test to potentially better test
Diffstat (limited to 'xnt/xenant.py')
-rw-r--r-- | xnt/xenant.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xnt/xenant.py b/xnt/xenant.py index ab93afc..340cb87 100644 --- a/xnt/xenant.py +++ b/xnt/xenant.py @@ -46,7 +46,7 @@ def main(): start_time = time.time() params = list(p for p in sys.argv[1:] if p.startswith('-D')) opts = list(o for o in sys.argv[1:] - if o.startswith('-') and not o.startswith('-D')) + if o.startswith('-') and o not in params) arg = list(a for a in sys.argv[1:] if a not in opts and a not in params) for opt in opts: if opt in actions: |