[bitbake-devel] [PATCH] knotty: kill duplicated import of 'time'
Christopher Larson
kergoth at gmail.com
Tue Nov 13 19:12:50 UTC 2012
From: Christopher Larson <chris_larson at mentor.com>
The duplicated import could result in an UnboundLocalError.
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
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")
--
1.7.12.4
More information about the bitbake-devel
mailing list