Changeset 66bb590 for fedd/cert_to_fedid.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/cert_to_fedid.py
r8d5394e r66bb590 3 3 import sys, os 4 4 import subprocess, tempfile 5 import os.path 5 6 6 7 from string import join 7 from optparse import OptionParser 8 from federation.util import abac_pem_type, abac_split_cert 8 from federation.util import abac_pem_type, abac_split_cert, file_expanding_opts 9 9 10 class Parser( OptionParser):10 class Parser(file_expanding_opts): 11 11 def __init__(self): 12 OptionParser.__init__(self, usage='%prog [options]')12 file_expanding_opts.__init__(self, usage='%prog [options]') 13 13 self.add_option('--out', dest='out', help='destination file', 14 action='callback', callback=self.expand_file, type='str', 14 15 default='./cert.pem') 15 16 self.add_option('--debug', dest='debug', action='store_true',
Note: See TracChangeset
for help on using the changeset viewer.