Changeset 8f91e66
- Timestamp:
- Jun 24, 2008 4:57:53 PM (17 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- 3e293e4
- Parents:
- 6ff0b91
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_client.py
r6ff0b91 r8f91e66 9 9 from M2Crypto import SSL, X509 10 10 import M2Crypto.httpslib 11 12 from fedd_util import * 11 from ZSI import SoapWriter 12 13 from fedd_util import fedid, fedd_ssl_context, pack_soap, pack_id 13 14 14 15 from optparse import OptionParser, OptionValueError … … 65 66 66 67 self.set_defaults(url="https://localhost:23235", anonymous=False, 67 use_fedid=False, debug=0)68 serialize_only=False, use_fedid=False, debug=0) 68 69 69 70 self.add_option("-a","--anonymous", action="store_true", … … 91 92 type="string", 92 93 help="Use a project request with this project name") 94 self.add_option("-s", "--serializeOnly", action="store_true", 95 dest="serialize_only", 96 help="Print the SOAP request that would be sent and exit") 93 97 self.add_option("-t", "--testbed", action="store", dest="testbed", 94 98 type="string", … … 297 301 pack_soap(req, "RequestAccessRequestBody", msg)) 298 302 303 if opts.debug > 1: 304 print msg 305 306 if opts.serialize_only: 307 sw = SoapWriter() 308 sw.serialize(req) 309 print str(sw) 310 sys.exit(0) 299 311 300 312 try:
Note: See TracChangeset
for help on using the changeset viewer.