# HG changeset patch # User Teemu Piippo # Date 1421048665 18000 # Node ID 2bb5c4578ee1c97bcaf1055a13fa17e8df4e9640 # Parent 0d1fd111cb2268175a3344a3a2a5adc00a065ec1 - more fixes diff -r 0d1fd111cb22 -r 2bb5c4578ee1 bt.py --- a/bt.py Wed Dec 31 15:49:11 2014 -0500 +++ b/bt.py Mon Jan 12 02:44:25 2015 -0500 @@ -91,7 +91,10 @@ def get_issue (ticket): global suds_client user, password = credentials() - return suds_client.service.mc_issue_get (user, password, ticket) + print "get_issue: Retrieving issue data for %s" % ticket + result = suds_client.service.mc_issue_get (user, password, ticket) + print "Issue data recieved." + return result def poll(): global btannounce_timeout diff -r 0d1fd111cb22 -r 2bb5c4578ee1 hgpoll.py --- a/hgpoll.py Wed Dec 31 15:49:11 2014 -0500 +++ b/hgpoll.py Mon Jan 12 02:44:25 2015 -0500 @@ -148,6 +148,8 @@ if commit_trackeruser != '': commit_author += ' [%s]' % commit_trackeruser + commit_message = commit_message.replace ("\n", " ") + message = 'Issue addressed by commit %s: [b][url=%s/commits/%s]%s[/url][/b]' \ % (commit_node, repo_url, commit_node, commit_message) message += "\nCommitted by %s on %s\n\n%s" \ diff -r 0d1fd111cb22 -r 2bb5c4578ee1 modulecore.py --- a/modulecore.py Wed Dec 31 15:49:11 2014 -0500 +++ b/modulecore.py Mon Jan 12 02:44:25 2015 -0500 @@ -146,7 +146,8 @@ for argname in cmd['argnames']: args[argname] = match.group (i) i += 1 - + + print "ModuleCore: %s called by %s" % (cmdname, kvargs['sender']) getattr (cmd['module'], "cmd_%s" % cmdname) (bot=bot, cmdname=cmdname, args=args, reply=response_function, **kvargs) # Print the first page of responses.