~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockdir.py

  • Committer: Martin Pool
  • Date: 2010-09-10 06:24:23 UTC
  • mto: This revision was merged to the branch mainline in revision 5426.
  • Revision ID: mbp@sourcefrog.net-20100910062423-8i2bldoclqaf41b6
Remove 'default' parameter from confirm_action
The noninteractive default is to always confirm

Show diffs side-by-side

added added

removed removed

Lines of Context:
352
352
        if holder_info is not None:
353
353
            lock_info = '\n'.join(self._format_lock_info(holder_info))
354
354
            if bzrlib.ui.ui_factory.confirm_action(
355
 
                "Break %(lock_info)s",
356
 
                'bzr.lock.break.confirm',
 
355
                "Break %(lock_info)s", 'bzrlib.lockdir.break', 
357
356
                dict(lock_info=lock_info)):
358
357
                self.force_break(holder_info)
359
358