Changeset ca489e8 for fedd/fedd_client.py
- Timestamp:
- Jul 27, 2009 9:41:25 AM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- 8f32dc0
- Parents:
- 65f3f29
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_client.py
r65f3f29 rca489e8 157 157 help="data to extract") 158 158 159 class fedd_terminate_opts(fedd_exp_data_opts): 160 def __init__(self): 161 fedd_exp_data_opts.__init__(self) 162 self.add_option("--force", dest="force", 163 action="store_true", default=False, 164 help="Force termination if experiment is in strange state") 165 159 166 class fedd_multi_exp_data_opts(fedd_client_opts): 160 167 def __init__(self): … … 1024 1031 """ 1025 1032 # Process the options using the customized option parser defined above 1026 parser = fedd_ exp_data_opts()1033 parser = fedd_terminate_opts() 1027 1034 1028 1035 (opts, args) = parser.parse_args() … … 1061 1068 "--experiment_name"); 1062 1069 1063 req = { 'experiment': exp_id }1070 req = { 'experiment': exp_id, 'force': opts.force } 1064 1071 1065 1072 try:
Note: See TracChangeset
for help on using the changeset viewer.