/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Jeff Licquia
  • Date: 2008-04-03 03:58:11 UTC
  • mto: (0.54.69 automated)
  • mto: This revision was merged to the branch mainline in revision 6630.
  • Revision ID: jeff@licquia.org-20080403035811-x9a3m7pg33ycrrjw
Make reset a no-op if no bisection is in progress.

Show diffs side-by-side

added added

removed removed

Lines of Context:
347
347
    def reset(self):
348
348
        "Reset the bisect state to no state."
349
349
 
350
 
        BisectCurrent().reset()
351
350
        if os.path.exists(bisect_info_path):
 
351
            BisectCurrent().reset()
352
352
            os.unlink(bisect_info_path)
 
353
        else:
 
354
            sys.stdout.write("No bisection in progress; nothing to do.\n")
353
355
 
354
356
    def start(self):
355
357
        "Reset the bisect state, then prepare for a new bisection."