~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Vincent Ladeuil
  • Date: 2012-03-28 15:47:13 UTC
  • mto: This revision was merged to the branch mainline in revision 6512.
  • Revision ID: v.ladeuil+lp@free.fr-20120328154713-yjgbccufbkol5w4s
Clarify the dict usage to share dirty sections.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2991
2991
    mutable_section_class = MutableSection
2992
2992
 
2993
2993
    def __init__(self):
2994
 
        # Which sections need to be saved (by section id)
 
2994
        # Which sections need to be saved (by section id). We use a dict here
 
2995
        # so the dirty sections can be shared by multiple callers.
2995
2996
        self.dirty_sections = {}
2996
2997
 
2997
2998
    def is_loaded(self):