/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/filters/eol.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:
22
22
from __future__ import absolute_import
23
23
 
24
24
 
25
 
import re, sys
 
25
import re
 
26
import sys
26
27
 
27
28
from ..errors import BzrError
28
29
from ..filters import ContentFilter
57
58
_eol_filter_stack_map = {
58
59
    'exact': [],
59
60
    'native': [ContentFilter(_to_lf_converter, _native_output)],
60
 
    'lf':     [ContentFilter(_to_lf_converter, _to_lf_converter)],
61
 
    'crlf':   [ContentFilter(_to_lf_converter, _to_crlf_converter)],
 
61
    'lf': [ContentFilter(_to_lf_converter, _to_lf_converter)],
 
62
    'crlf': [ContentFilter(_to_lf_converter, _to_crlf_converter)],
62
63
    'native-with-crlf-in-repo':
63
64
        [ContentFilter(_to_crlf_converter, _native_output)],
64
65
    'lf-with-crlf-in-repo':
66
67
    'crlf-with-crlf-in-repo':
67
68
        [ContentFilter(_to_crlf_converter, _to_crlf_converter)],
68
69
    }
 
70
 
 
71
 
69
72
def eol_lookup(key):
70
73
    filter = _eol_filter_stack_map.get(key)
71
74
    if filter is None: