changeset 123:4dfb966818b6

maybe were even changing things now
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 22 Jan 2011 18:30:37 -0800
parents 1084bfdedf0a
children f2f4bf7edbbc
files autobot/changes/poller.py
diffstat 1 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/changes/poller.py	Sat Jan 22 18:27:58 2011 -0800
+++ b/autobot/changes/poller.py	Sat Jan 22 18:30:37 2011 -0800
@@ -212,9 +212,19 @@
 
     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
+        c = changes.Change(who=self.commitInfo['name'],
+                           revision=rev,
+                           files=self.commitInfo['files'],
+                           comments=self.commitInfo['comments'],
+                           when=self.commitInfo['timestamp'],
+                           branch=self.branch,
+                           category=self.category,
+                           project=self.project,
+                           repository=self.repourl)
+        self.parent.addChange(c)
+        self.lastChange = self.lastPoll
 #             d = self.master.addChange(
 #                    who=self.commitInfo['name'],
 #                    revision=rev,