From c176e5a3fe75cb0e896b5a665c6a7a41c7377f15 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Tue, 13 Nov 2012 12:12:50 -0700 Subject: [PATCH] bitbake: knotty: kill duplicated import of 'time' The duplicated import could result in an UnboundLocalError. (Bitbake rev: a098cebd5c33ebd704efd35d9e655262283cbe1f) Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/knotty.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index b99a121729..77ec7302a7 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/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")