/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/rules.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-11 04:08:32 UTC
  • mto: (7143.16.20 even-more-cleanups)
  • mto: This revision was merged to the branch mainline in revision 7175.
  • Revision ID: jelmer@jelmer.uk-20181111040832-nsljjynzzwmznf3h
Run autopep8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
                    self.pattern_to_section[fp] = s
107
107
        if len(patterns) < len(sections):
108
108
            unknowns = [s for s in sections
109
 
                if not s.startswith(FILE_PREFS_PREFIX)]
 
109
                        if not s.startswith(FILE_PREFS_PREFIX)]
110
110
            raise UnknownRules(unknowns)
111
111
        elif patterns:
112
112
            self._globster = globbing._OrderedGlobster(patterns)
171
171
    global _per_user_searcher
172
172
    _per_user_searcher = _IniBasedRulesSearcher(rules_filename())
173
173
 
 
174
 
174
175
reset_rules()