bt.py

changeset 77
8f45af91a4f3
parent 73
d67cc4fbc3f1
child 78
afc0fc2a57e4
equal deleted inserted replaced
76:a2fe9ba3041a 77:8f45af91a4f3
57 get_ticket_data (bot, replyto, http_match.group (2), False) 57 get_ticket_data (bot, replyto, http_match.group (2), False)
58 58
59 def init(): 59 def init():
60 global suds_active 60 global suds_active
61 global suds_client 61 global suds_client
62 global btannounce_id
62 63
63 try: 64 try:
64 print 'Initializing MantisBT connection...' 65 print 'Initializing MantisBT connection...'
65 suds_import = suds.xsd.doctor.Import ('http://schemas.xmlsoap.org/soap/encoding/', 'http://schemas.xmlsoap.org/soap/encoding/') 66 suds_import = suds.xsd.doctor.Import ('http://schemas.xmlsoap.org/soap/encoding/', 'http://schemas.xmlsoap.org/soap/encoding/')
66 suds_client = suds.client.Client ('https://zandronum.com/tracker/api/soap/mantisconnect.php?wsdl', plugins=[suds.xsd.doctor.ImportDoctor (suds_import)]) 67 suds_client = suds.client.Client ('https://zandronum.com/tracker/api/soap/mantisconnect.php?wsdl', plugins=[suds.xsd.doctor.ImportDoctor (suds_import)])

mercurial