~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ui/__init__.py

  • Committer: Mattias Eriksson
  • Date: 2009-06-02 09:18:26 UTC
  • mto: This revision was merged to the branch mainline in revision 4398.
  • Revision ID: snaggen@acc.umu.se-20090602091826-r55iaxfwy9fn1up3
Fix to avoid possible race conditions if import ordering is changed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
            prompt = prompt % kwargs
228
228
        prompt = prompt.encode(osutils.get_terminal_encoding(), 'replace')
229
229
        self.clear_term()
230
 
        self.stderr.write(prompt)
 
230
        self.stdout.write(prompt)
231
231
 
232
232
    def note(self, msg):
233
233
        """Write an already-formatted message."""