On Fri, Apr 23, 2010 at 01:56:40PM -0000, Gavin Panella wrote: > Review: Approve > You're my hero for taking this on. Ta :) > This is all good. I've made a few comments, and a bigger suggestion > (including patch) to make the instantiation of BugWatchUpdater less of > a pain (and to preserve the encapsulation that WorkingBase gives). > Cool. Replies in-line, etc... > > > === modified file 'lib/lp/bugs/doc/externalbugtracker-comment-imports.txt' > > --- lib/lp/bugs/doc/externalbugtracker-comment-imports.txt 2010-04-21 10:30:24 +0000 > > +++ lib/lp/bugs/doc/externalbugtracker-comment-imports.txt 2010-04-23 09:29:42 +0000 > > @@ -85,10 +85,13 @@ > > comment-importing ExternalBugTracker instance will result in the three > > comments in the comment_dict being imported into Launchpad. > > > > - >>> from lp.bugs.scripts.checkwatches import CheckwatchesMaster > > - >>> bugwatch_updater = CheckwatchesMaster(LaunchpadZopelessLayer.txn) > > - >>> transaction.commit() > > - >>> bugwatch_updater.importBugComments(external_bugtracker, bug_watch) > > + >>> from canonical.launchpad.scripts.logger import log > > + >>> from lp.bugs.scripts.checkwatches.bugwatchupdater import ( > > + ... BugWatchUpdater) > > + >>> bugwatch_updater = BugWatchUpdater( > > + ... '