Changeset a0e20ac


Ignore:
Timestamp:
Dec 3, 2010 9:41:50 AM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master
Children:
b7a61ac
Parents:
5d7f1e8
Message:

Warn the user if a mapping was requested but no type given. Yes, I keep doing this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/access_to_abac.py

    r5d7f1e8 ra0e20ac  
    377377else: delegation_link = None
    378378
    379 mapper = opts.mapper
     379if not opts.mapper and (opts.map or opts.debug):
     380    print >>sys.stderr, "No --type specified, mapping file will be empty."
    380381
    381382if opts.cert:
     
    401402    for fn in args:
    402403        try:
    403             creds, to_id = parse_access(fn, mapper)
     404            creds, to_id = parse_access(fn, opts.mapper)
    404405        except parse_error, e:
    405406            print >> sys.stderr, "%s" % e
Note: See TracChangeset for help on using the changeset viewer.