Changeset 4909fcf for fedd


Ignore:
Timestamp:
Sep 30, 2011 12:34:55 PM (13 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, info-ops, master
Children:
121aa1c
Parents:
ad3d8df
Message:

Force authorizer paths to be absolute

Location:
fedd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fedd/access_to_abac.py

    rad3d8df r4909fcf  
    362362    delete_creds = True
    363363    auth_dir = opts.dir
     364    if not os.path.isabs(auth_dir):
     365        sys.exit('Authorizer path must be absolute')
    364366else:
    365367    creds_dir = opts.dir
  • fedd/fedd_to_abac.py

    rad3d8df r4909fcf  
    161161
    162162if opts.dir:
     163    if not os.path.isabs(opts.dir):
     164        sys.exit('--dir must be absolute')
    163165    if opts.make_dir:
    164166        if not os.path.isdir(opts.dir) and not debug:
Note: See TracChangeset for help on using the changeset viewer.