~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to userinteractor.py

  • Committer: Michael Ellerman
  • Date: 2005-11-29 01:41:52 UTC
  • mto: (0.3.1 shelf-dev) (325.1.2 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 334.
  • Revision ID: michael@ellerman.id.au-20051129014152-f5ede8888bcebc48
HunkSelector was broken if you did a "done" followed by "status/invert" etc.
Fixup to make pychecker happy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
            if self.end_callback():
94
94
                break
95
95
 
 
96
            self.__finished = False
 
97
 
96
98
            self.__ask_once(None, self.__total_items)
97
99
            while not self.__finished and not self.__restart:
98
100
                self.__ask_once(None, -1)
125
127
 
126
128
            self.__show_help()
127
129
 
 
130
        return False # keep pychecker happy
 
131
 
128
132
    def __show_help(self):
129
133
        for opt in self._options:
130
134
            print '  %s - %s' % (opt.char, opt.help)