changeset 241:6c72a6f29fc8

update to the modern way of doing things? (or die trying)
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 22 Dec 2011 15:16:12 -0800
parents 6023ae1d13e6
children 2277916cd728
files autobot/changes/poller.py
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/changes/poller.py	Thu Dec 22 15:05:27 2011 -0800
+++ b/autobot/changes/poller.py	Thu Dec 22 15:16:12 2011 -0800
@@ -225,7 +225,16 @@
                            project=self.project,
                            repository=self.repourl)
         log.msg("parent: %s, %s" % (self.parent, getattr(self.parent, 'module', None)))
-        self.master.addChange(c)
+        self.master.addChange(author=self.commitInfo['name'],
+                              revision=rev,
+                              files=files,
+                              comments=comments,
+                              when_timestamp=self.commitInfo['timestamp'],
+                              branch=self.branch,
+                              category=self.category,
+                              project=self.project,
+                              repository=self.repourl,
+                              src=self.name)
         self.lastChange = self.lastPoll