[Buildbot-devel] assertion error on changes/manager.py
Dustin J. Mitchell
dustin at v.igoro.us
Tue Jul 2 00:27:49 UTC 2013
On Thu, Jun 27, 2013 at 3:15 AM, Jorge Gonzalez <gjorge at google.com> wrote:
> I found why. The reason was that my PollingChangeSource wasn't implementing
> __hash__. And the manager.py was putting two instances of my class into a
> set before adding them to the master. My instances somehow (haven't checked
> why) must have generated the same hash, and only one of them was therefore
> being considered, although my config had a sequence of two of them.
Hm, ComparableMixin should probably implement __hash__. Would that help?
Dustin
More information about the devel
mailing list