~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Martin Pool
  • Date: 2009-03-11 07:21:02 UTC
  • mto: This revision was merged to the branch mainline in revision 4144.
  • Revision ID: mbp@sourcefrog.net-20090311072102-bbh7i462c7knq2md
Remove redundant variable from fetch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
        self.find_ghosts = find_ghosts
70
70
        if pb is None:
71
71
            self.pb = bzrlib.ui.ui_factory.nested_progress_bar()
72
 
            self.nested_pb = self.pb
73
72
        else:
74
73
            self.pb = pb
75
 
            self.nested_pb = None
76
74
        self.from_repository.lock_read()
77
75
        try:
78
 
            try:
79
 
                self.__fetch()
80
 
            finally:
81
 
                if self.nested_pb is not None:
82
 
                    self.nested_pb.finished()
 
76
            self.__fetch()
83
77
        finally:
84
78
            self.from_repository.unlock()
85
79