Changeset 7c9a0a4 for fedd


Ignore:
Timestamp:
Aug 6, 2009 5:37:15 PM (15 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-2.00, version-3.01, version-3.02
Children:
1fda364
Parents:
16a23a6
Message:

missed an error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/fedd_client.py

    r16a23a6 r7c9a0a4  
    461461                    "--experiment_name permitted");
    462462
     463        exp_id = None
    463464        if opts.exp_certfile:
    464465            exp_id = { 'fedid': fedid(file=opts.exp_certfile) }
     
    466467        if opts.exp_name:
    467468            exp_id = { 'localname' : opts.exp_name }
     469
     470        if not exp_id:
     471            sys.exit("specify one of --experiment_cert and --experiment_name")
     472
    468473
    469474        req = { 'experiment': exp_id }
Note: See TracChangeset for help on using the changeset viewer.