/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/ui/text.py

  • Committer: Martin
  • Date: 2010-04-21 20:33:10 UTC
  • mto: This revision was merged to the branch mainline in revision 5183.
  • Revision ID: gzlist@googlemail.com-20100421203310-7cehyh059078wb4t
Make LeafNode._serialise_key a static method on the class rather than the instance

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
 
234
234
    def show_warning(self, msg):
235
235
        self.clear_term()
236
 
        if isinstance(msg, unicode):
237
 
            te = osutils.get_terminal_encoding()
238
 
            msg = msg.encode(te, 'replace')
239
236
        self.stderr.write("bzr: warning: %s\n" % msg)
240
237
 
241
238
    def _progress_updated(self, task):