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)]) |