From patchwork Tue Nov 13 19:12:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel] knotty: kill duplicated import of 'time' Date: Tue, 13 Nov 2012 19:12:50 -0000 From: Christopher Larson X-Patchwork-Id: 38953 Message-Id: <1352833970-22315-1-git-send-email-kergoth@gmail.com> To: bitbake-devel@lists.openembedded.org Cc: Christopher Larson From: Christopher Larson The duplicated import could result in an UnboundLocalError. Signed-off-by: Christopher Larson --- lib/bb/ui/knotty.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index b99a121..77ec730 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -460,7 +460,6 @@ def main(server, eventHandler, tf = TerminalFilter): if ioerror.args[0] == 4: pass except KeyboardInterrupt: - import time termfilter.clearFooter() if main.shutdown == 1: print("\nSecond Keyboard Interrupt, stopping...\n")