In the class InvalidationBatch, inside the constructor are the comments "If we
passed in a distribution, then we use that as the connection object". However,
the code below it just uses self.connection = connection regardless of the
distribution.
Now if distribution should be a Distribution object (and not a string for the
distribution id), then shouldn't this use self.connection =
distribution.connection? I've attached an example patch on what I'm talking
about.
Original issue reported on code.google.com by boards on 20 Apr 2011 at 5:44
Original issue reported on code.google.com by
boards
on 20 Apr 2011 at 5:44Attachments: