Code review comment for lp:~gmb/launchpad/subscribers-timeout-bug-487015

Revision history for this message
Gavin Panella (allenap) wrote :

Ah, thanks for the explanation.

> +
> + # Re-fetch the bug so that the fact that it's a duplicate definitely
> + # registers.
> >>> bug = getUtility(IBugSet).get(bug.id)

Although it saves little, out of curiosity I discovered that

  IStore(bug).flush()

also works.

Gavin.

review: Approve (code)

« Back to merge proposal