~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Alexander Belchenko
  • Date: 2008-03-11 22:15:16 UTC
  • mto: This revision was merged to the branch mainline in revision 3295.
  • Revision ID: bialix@ukr.net-20080311221516-pmu5dnoehqujl1u8
Don't ask a password if there is no real terminal. (#69851)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2576
2576
 
2577
2577
    def __init__(self, timezone):
2578
2578
        self.timezone = timezone
 
2579
 
 
2580
 
 
2581
class NotATerminal(BzrError):
 
2582
 
 
2583
    _fmt = 'Unable to ask password without real terminal.'