changeset 122:1084bfdedf0a

more logging for debugging
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 22 Jan 2011 18:27:58 -0800
parents 2a39995f0e2c
children 4dfb966818b6
files autobot/changes/poller.py
diffstat 1 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/changes/poller.py	Sat Jan 22 18:24:22 2011 -0800
+++ b/autobot/changes/poller.py	Sat Jan 22 18:27:58 2011 -0800
@@ -210,15 +210,13 @@
 #             dl.addCallback(self._add_change, rev)
         
 
-    def _add_change(self, _, change):
+    def _add_change(self, _, rev):
         log.msg("_add_change results: %s" % self.commitInfo)
-        
+        log.msg("this is the master: %s (%s)" % (self.master, self.master.addChange))
         
-
         # send the change to the master
-#             timestamp, name, files, comments = [ r[1] for r in results ]
 #             d = self.master.addChange(
-#                    who=name,
+#                    who=self.commitInfo['name'],
 #                    revision=rev,
 #                    files=files,
 #                    comments=comments,
@@ -227,9 +225,7 @@
 #                    category=self.category,
 #                    project=self.project,
 #                    repository=self.repourl)
-#             wfd = defer.waitForDeferred(d)
-#             yield wfd
-#             results = wfd.getResult()
+
 
     def _process_changes_failure(self, f):
         log.msg('%s: repo poll failed' % self.name)