Cleanup tools/hacking using flake8
Change-Id: Ia151f265bf62e6704de6cc2f2c01963be9e2dd69
This commit is contained in:
@@ -27,7 +27,6 @@ import os
|
||||
import re
|
||||
import sys
|
||||
import tokenize
|
||||
import traceback
|
||||
import warnings
|
||||
|
||||
import pep8
|
||||
@@ -62,7 +61,6 @@ def import_normalize(line):
|
||||
split_line[1] != "__future__" and
|
||||
(len(split_line) == 4 or
|
||||
(len(split_line) == 6 and split_line[4] == "as"))):
|
||||
mod = split_line[3]
|
||||
return "import %s.%s" % (split_line[1], split_line[3])
|
||||
else:
|
||||
return line
|
||||
|
||||
Reference in New Issue
Block a user