pep8: Add compliance with rule E261 to html_branches.py.

This commit is contained in:
Aditya Bansal
2017-05-07 20:24:55 +05:30
committed by Tim Abbott
parent ffb8440eef
commit 47e7437932

View File

@@ -121,7 +121,7 @@ def split_for_id_and_class(element):
# attributes from HTML tags. This also takes care of template variables
# in string during splitting process. For eg. 'red black {{ a|b|c }}'
# is split as ['red', 'black', '{{ a|b|c }}']
outside_braces = True # type: bool
outside_braces = True # type: bool
lst = []
s = ''
@@ -193,7 +193,7 @@ def html_tag_tree(text):
def build_id_dict(templates):
# type: (List[str]) -> (Dict[str,List[str]])
template_id_dict = defaultdict(list) # type: (Dict[str,List[str]])
template_id_dict = defaultdict(list) # type: (Dict[str,List[str]])
for fn in templates:
text = open(fn).read()