aboutsummaryrefslogtreecommitdiff
path: root/steuermann
diff options
context:
space:
mode:
authorcslocum <cslocum@d34015c8-bcbb-4646-8ac8-8ba5febf221d>2014-09-10 14:48:39 -0400
committercslocum <cslocum@d34015c8-bcbb-4646-8ac8-8ba5febf221d>2014-09-10 14:48:39 -0400
commit9872e3b23d6602f533f023be5cf178aaf69b1b7a (patch)
tree6a7605d9216940c2d207943937ff7e02a1fe3ad2 /steuermann
parent7eae6c96bdec6ad1a5dadbd4cd0c07231dcca179 (diff)
downloadsteuermann-9872e3b23d6602f533f023be5cf178aaf69b1b7a.tar.gz
move definition of allowed flags into __init__.py
git-svn-id: https://svn.stsci.edu/svn/ssb/etal/steuermann/trunk@1319 d34015c8-bcbb-4646-8ac8-8ba5febf221d
Diffstat (limited to 'steuermann')
-rw-r--r--steuermann/__init__.py9
-rw-r--r--steuermann/nodes.py1
-rw-r--r--steuermann/run_all.py7
3 files changed, 9 insertions, 8 deletions
diff --git a/steuermann/__init__.py b/steuermann/__init__.py
index 0e77cbd..b811f10 100644
--- a/steuermann/__init__.py
+++ b/steuermann/__init__.py
@@ -1 +1,10 @@
__version__ = '2.0dev'
+
+allowed_flags = {
+ '--all' : '-a' ,
+ '-a' : '' , # run all nodes non-interactively
+ '-r' : '=' , # give run name
+ '-n' : '' , # do not actually execute any processes
+ '-h' : '=' , # give hosts (*.ini) file
+}
+
diff --git a/steuermann/nodes.py b/steuermann/nodes.py
index 17b73ab..fb674b8 100644
--- a/steuermann/nodes.py
+++ b/steuermann/nodes.py
@@ -3,7 +3,6 @@ Stuff related to the tree structure of the command set
'''
import fnmatch
-from run_all import allowed_flags
import sys
#import exyapps.runtime
diff --git a/steuermann/run_all.py b/steuermann/run_all.py
index 425d5e3..fa8f11f 100644
--- a/steuermann/run_all.py
+++ b/steuermann/run_all.py
@@ -35,13 +35,6 @@ username=getpass.getuser()
#####
-allowed_flags = {
- '--all' : '-a' ,
- '-a' : '' , # run all nodes non-interactively
- '-r' : '=' , # give run name
- '-n' : '' , # do not actually execute any processes
- '-h' : '=' , # give hosts (*.ini) file
-}
def main() :