~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/reconfigure.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-07-06 07:44:59 UTC
  • mfrom: (4509.1.1 332194-reconfigure)
  • Revision ID: pqm@pqm.ubuntu.com-20090706074459-trmwhot2xsag79ud
(mbp) Fix for unbound variable in reconfiguring lightweight checkout

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    def __init__(self, bzrdir, new_bound_location=None):
28
28
        self.bzrdir = bzrdir
29
29
        self.new_bound_location = new_bound_location
 
30
        self.local_repository = None
30
31
        try:
31
32
            self.repository = self.bzrdir.find_repository()
32
33
        except errors.NoRepositoryPresent: