summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2012-11-13 12:12:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-14 14:39:07 +0000
commitc176e5a3fe75cb0e896b5a665c6a7a41c7377f15 (patch)
treeb3e28b0806b06143abc985d0d0df468faa33c895 /bitbake/lib
parent68b7f18edd6b487f5d303ffda46d24fd2a4f3a2f (diff)
downloadpoky-c176e5a3fe75cb0e896b5a665c6a7a41c7377f15.tar.gz
bitbake: knotty: kill duplicated import of 'time'
The duplicated import could result in an UnboundLocalError. (Bitbake rev: a098cebd5c33ebd704efd35d9e655262283cbe1f) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/knotty.py1
1 files changed, 0 insertions, 1 deletions
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):
460 if ioerror.args[0] == 4: 460 if ioerror.args[0] == 4:
461 pass 461 pass
462 except KeyboardInterrupt: 462 except KeyboardInterrupt:
463 import time
464 termfilter.clearFooter() 463 termfilter.clearFooter()
465 if main.shutdown == 1: 464 if main.shutdown == 1:
466 print("\nSecond Keyboard Interrupt, stopping...\n") 465 print("\nSecond Keyboard Interrupt, stopping...\n")