knotty: kill duplicated import of 'time'
PATCH 1/1 knotty: kill duplicated import of 'time'
From: Christopher Larson <[email protected]>
The duplicated import could result in an UnboundLocalError.
Signed-off-by Christopher Larson <[email protected]>
--- lib/bb/ui/knotty.py | 1 - 1 file changed, 1 deletion(-)
lib/bb/ui/knotty.py +0 -1
@@ -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")
Signature · 1 line
1.7.12.4
Richard Purdie
AppliedQuoted 8 lines · Christopher Larson
From: Christopher Larson <[email protected]>
The duplicated import could result in an UnboundLocalError.
Signed-off-by Christopher Larson <[email protected]>--- lib/bb/ui/knotty.py | 1 - 1 file changed, 1 deletion(-)
Merged to master, thanks.
Richard