/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 bzrlib/config.py

  • Committer: Jelmer Vernooij
  • Date: 2017-02-05 22:51:57 UTC
  • mto: (6621.2.1 py3)
  • mto: This revision was merged to the branch mainline in revision 6624.
  • Revision ID: jelmer@jelmer.uk-20170205225157-jdk9ppega9c3my86
Run 2to3 idioms fixer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1810
1810
        """
1811
1811
        credentials = None
1812
1812
        for auth_def_name, auth_def in self._get_config().items():
1813
 
            if type(auth_def) is not configobj.Section:
 
1813
            if not isinstance(auth_def, configobj.Section):
1814
1814
                raise ValueError("%s defined outside a section" % auth_def_name)
1815
1815
 
1816
1816
            a_scheme, a_host, a_user, a_path = map(