mirror of https://github.com/apache/maven.git
30 lines
589 B
Python
30 lines
589 B
Python
|
#!/usr/bin/python
|
||
|
|
||
|
import sys
|
||
|
import xmlrpclib
|
||
|
|
||
|
class JiraXmlRpcClient:
|
||
|
|
||
|
def __init__(self):
|
||
|
|
||
|
self.supplier = xmlrpclib.Server("http://jira.codehaus.org/rpc/xmlrpc")
|
||
|
|
||
|
def transmitMessages(self):
|
||
|
|
||
|
token = self.supplier.jira1.login( "jason", "" )
|
||
|
|
||
|
#content = self.supplier.jira1.getIssueTypes( token )
|
||
|
|
||
|
return None
|
||
|
|
||
|
##########################################################
|
||
|
# Main loop
|
||
|
##########################################################
|
||
|
|
||
|
try:
|
||
|
JiraXmlRpcClient().transmitMessages()
|
||
|
|
||
|
except Exception, e:
|
||
|
print "Error:", e
|
||
|
|