/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 breezy/library_state.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-22 00:56:52 UTC
  • mfrom: (6621.2.26 py3_pokes)
  • Revision ID: jelmer@jelmer.uk-20170522005652-yjahcr9hwmjkno7n
Merge Python3 porting work ('py3 pokes')

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
 
26
26
import breezy
27
 
from breezy.lazy_import import lazy_import
 
27
from .lazy_import import lazy_import
28
28
lazy_import(globals(), """
29
29
from breezy import (
30
30
    cleanup,
110
110
    def __exit__(self, exc_type, exc_val, exc_tb):
111
111
        if exc_type is None:
112
112
            # Save config changes
113
 
            for k, store in self.config_stores.iteritems():
 
113
            for k, store in self.config_stores.items():
114
114
                store.save_changes()
115
115
        self.cleanups.cleanup_now()
116
116
        trace._flush_stdout_stderr()