/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 18:59:44 UTC
  • mfrom: (7143.15.15 more-cleanups)
  • Revision ID: breezy.the.bot@gmail.com-20181116185944-biefv1sub37qfybm
Sprinkle some PEP8iness.

Merged from https://code.launchpad.net/~jelmer/brz/more-cleanups/+merge/358611

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()