~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockdir.py

  • Committer: Jelmer Vernooij
  • Date: 2011-05-16 13:39:39 UTC
  • mto: (5923.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 5925.
  • Revision ID: jelmer@samba.org-20110516133939-8u1pc9utas3uw1lt
Require a unicode prompt to be passed into all methods that prompt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
355
355
            holder_info = self.peek()
356
356
        except LockCorrupt, e:
357
357
            # The lock info is corrupt.
358
 
            if bzrlib.ui.ui_factory.get_boolean("Break (corrupt %r)" % (self,)):
 
358
            if bzrlib.ui.ui_factory.get_boolean(u"Break (corrupt %r)" % (self,)):
359
359
                self.force_break_corrupt(e.file_data)
360
360
            return
361
361
        if holder_info is not None: