Changeset 66bb590 for fedd/fedd_to_abac.py
- Timestamp:
- Dec 10, 2010 9:03:35 AM (13 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master
- Children:
- 52b6ebc
- Parents:
- 913dc7a (diff), 8d5394e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_to_abac.py
r8d5394e r66bb590 9 9 10 10 from string import join 11 from optparse import OptionParser12 11 13 from federation.util import abac_pem_type, abac_split_cert 12 from federation.util import abac_pem_type, abac_split_cert, file_expanding_opts 14 13 15 class Parser( OptionParser):14 class Parser(file_expanding_opts): 16 15 def __init__(self): 17 OptionParser.__init__(self)16 file_expanding_opts.__init__(self) 18 17 self.add_option('--cert', dest='cert', default=None, 18 action='callback', callback=self.expand_file, type='str', 19 19 help='my fedid as an X.509 certificate') 20 20 self.add_option('--key', dest='key', default=None, 21 action='callback', callback=self.expand_file, type='str', 21 22 help='key for the certificate') 22 23 self.add_option('--dir', dest='dir', default=None, 24 action='callback', callback=self.expand_file, type='str', 23 25 help='Output directory for credentials') 24 26 self.add_option('--make-dir', action='store_true', dest='make_dir',
Note: See TracChangeset
for help on using the changeset viewer.