- Timestamp:
- Dec 10, 2010 9:19:57 AM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master
- Children:
- ddf0903
- Parents:
- 52b6ebc
- Location:
- fedd
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_create.py
r52b6ebc ra0c2866 157 157 svcs = [] 158 158 # Option processing 159 cert, fid, url = wrangle_standard_options(opts) 159 try: 160 cert, fid, url = wrangle_standard_options(opts) 161 except RuntimeError, e: 162 sys.exit("%s" %e) 160 163 161 164 if opts.file: -
fedd/fedd_multiinfo.py
r52b6ebc ra0c2866 25 25 parser = exp_data_opts() 26 26 (opts, args) = parser.parse_args() 27 cert, fid, url = wrangle_standard_options(opts) 27 try: 28 cert, fid, url = wrangle_standard_options(opts) 29 except RuntimeError, e: 30 sys.exit("%s" %e) 28 31 29 32 try: -
fedd/fedd_multistatus.py
r52b6ebc ra0c2866 9 9 parser = client_opts() 10 10 (opts, args) = parser.parse_args() 11 cert, fid, url = wrangle_standard_options(opts) 11 try: 12 cert, fid, url = wrangle_standard_options(opts) 13 except RuntimeError, e: 14 sys.exit("%s" %e) 12 15 13 16 try: -
fedd/fedd_new.py
r52b6ebc ra0c2866 25 25 (opts, args) = parser.parse_args() 26 26 27 cert, fid, url = wrangle_standard_options(opts)28 27 try: 28 cert, fid, url = wrangle_standard_options(opts) 29 29 acerts = get_abac_certs(opts.abac_dir) 30 30 except EnvironmentError, e: 31 31 sys.exit('%s: %s' % (e.filename, e.strerror)) 32 except RuntimeError, e: 33 sys.exit("%s" %e) 32 34 33 35 out_certfile = opts.out_certfile -
fedd/fedd_ns2topdl.py
r52b6ebc ra0c2866 20 20 (opts, args) = parser.parse_args() 21 21 22 cert, fid, url = wrangle_standard_options(opts) 22 try: 23 cert, fid, url = wrangle_standard_options(opts) 24 except RuntimeError, e: 25 sys.exit("%s" %e) 23 26 24 27 if opts.file: -
fedd/fedd_spewlog.py
r52b6ebc ra0c2866 27 27 (opts, args) = parser.parse_args() 28 28 29 cert, fid, url = wrangle_standard_options(opts) 29 try: 30 cert, fid, url = wrangle_standard_options(opts) 31 except RuntimeError, e: 32 sys.exit("%s" %e) 30 33 31 34 if opts.exp_name and opts.exp_certfile: -
fedd/fedd_terminate.py
r52b6ebc ra0c2866 29 29 parser = terminate_opts() 30 30 (opts, args) = parser.parse_args() 31 cert, fid, url = wrangle_standard_options(opts) 31 32 try: 33 cert, fid, url = wrangle_standard_options(opts) 34 except RuntimeError, e: 35 sys.exit("%s" %e) 32 36 33 37 if opts.exp_name and opts.exp_certfile: -
fedd/federation/client_lib.py
r52b6ebc ra0c2866 147 147 else: url = default_url 148 148 149 if opts.abac_dir: 150 if not os.access(opts.abac_dir, os.F_OK): 151 raise RuntimeError("No ABAC directory: %s" % opts.abac_dir) 152 elif not os.path.isdir(opts.abac_dir): 153 raise RuntimeError("ABAC directory not a directory: %s" \ 154 % opts.abac_dir) 155 elif not os.access(opts.abac_dir, os.W_OK): 156 raise RuntimeError("Cannot write to ABAC directory: %s" \ 157 % opts.abac_dir) 158 159 149 160 150 161 return (cert, fid, url)
Note: See TracChangeset
for help on using the changeset viewer.