~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/codehosting/codeimport/uifactory.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-07-28 19:18:13 UTC
  • mfrom: (13457.6.8 upgrade-stderr)
  • Revision ID: launchpad@pqm.canonical.com-20110728191813-kw179ng15cpum2ln
[r=jcsackett,
        mbp][bug=808035] Fix processing of code imports that are currently
        stored in an old bzr format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        """
37
37
        TextUIFactory.__init__(self)
38
38
        self.interval = interval
 
39
        self.writer = writer
39
40
        self._progress_view = LoggingTextProgressView(
40
41
            time_source, writer, interval)
41
42
 
 
43
    def show_user_warning(self, warning_id, **message_args):
 
44
        self.writer(self.format_user_warning(warning_id, message_args))
 
45
 
42
46
 
43
47
class LoggingTextProgressView(TextProgressView):
44
48
    """Support class for `LoggingUIFactory`. """