Bug 498671 - Fix change date in ftppoller in pooled talos masters. r=anodelman
authorChris AtLee <catlee@mozilla.com>
Fri, 19 Jun 2009 14:35:42 -0400
changeset 1215 14f6b612d175ef87c732c85a62282095c93fcfcc
parent 1214 f7186671ac9bafd6ece13ac9b0c5d4220e1c1af7
child 1216 612c6384bc3977c56f1176c57fab67d0c88b822d
push id1
push userroot
push dateWed, 17 Dec 2014 00:18:48 +0000
reviewersanodelman
bugs498671
Bug 498671 - Fix change date in ftppoller in pooled talos masters. r=anodelman We override the change date in TalosFactory, and preserving the original request time is useful for reporting.
talos-pool/ftppoller.py
talos-staging-pool/ftppoller.py
--- a/talos-pool/ftppoller.py
+++ b/talos-pool/ftppoller.py
@@ -156,11 +156,11 @@ class FtpPoller(base.ChangeSource):
             if forceDate > 0:
                 buildDate = forceDate
             else:
                 self.lastChanges[url] = buildDate
             c = changes.Change(who = url,
                                comments = "success",
                                files = [fullpath,],
                                branch = self.branch,
-                               when = buildDate,)
+                               )
             self.parent.addChange(c)
             log.msg("found a browser to test (%s)" % (fullpath))
--- a/talos-staging-pool/ftppoller.py
+++ b/talos-staging-pool/ftppoller.py
@@ -156,11 +156,11 @@ class FtpPoller(base.ChangeSource):
             if forceDate > 0:
                 buildDate = forceDate
             else:
                 self.lastChanges[url] = buildDate
             c = changes.Change(who = url,
                                comments = "success",
                                files = [fullpath,],
                                branch = self.branch,
-                               when = buildDate,)
+                               )
             self.parent.addChange(c)
             log.msg("found a browser to test (%s)" % (fullpath))