From 6e480708eed4b32a0748cbca46c3d8b439d151db Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Thu, 24 May 2012 12:03:37 -0700 Subject: Cleanup tools/hacking using flake8 Change-Id: Ia151f265bf62e6704de6cc2f2c01963be9e2dd69 --- tools/hacking.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'tools') diff --git a/tools/hacking.py b/tools/hacking.py index 485030f99..90a096e0f 100755 --- a/tools/hacking.py +++ b/tools/hacking.py @@ -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 -- cgit