From: Christopher Larson Date: Tue, 13 Nov 2012 19:12:50 +0000 (-0700) Subject: knotty: kill duplicated import of 'time' X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a098cebd5c33ebd704efd35d9e655262283cbe1f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git knotty: kill duplicated import of 'time' The duplicated import could result in an UnboundLocalError. Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index b99a1217299..77ec7302a76 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")