Changeset 70cdf59 for fedd


Ignore:
Timestamp:
Apr 8, 2009 3:55:28 PM (16 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
5018d82
Parents:
8dfc06c
Message:

Require an experiment name for terminate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/fedd_client.py

    r8dfc06c r70cdf59  
    416416                    "--experiment_name permitted");
    417417
     418        exp_id = None
     419
    418420        if opts.exp_certfile:
    419421            exp_id = { 'fedid': fedid(file=opts.exp_certfile) }
     
    421423        if opts.exp_name:
    422424            exp_id = { 'localname' : opts.exp_name }
     425
     426        if not exp_id:
     427            sys.exit("Must give one of --experiment_cert and " +\
     428                    "--experiment_name");
    423429
    424430        req = { 'experiment': exp_id }
Note: See TracChangeset for help on using the changeset viewer.