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.
--- 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))