~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockdir.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-27 10:48:00 UTC
  • mfrom: (5923.1.3 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20110527104800-fvcjlygvqloos6kl
(vila) Require prompts to always be unicode (Jelmer Vernooij)

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: