~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/reconfigure.py

  • Committer: Martin Pool
  • Author(s): Jelmer Vernooij
  • Date: 2009-07-06 06:46:30 UTC
  • mto: This revision was merged to the branch mainline in revision 4510.
  • Revision ID: mbp@sourcefrog.net-20090706064630-r2pmeli81mqg4902
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: