Skip to contentSkip to conversation

knotty: kill duplicated import of 'time'

PATCH Applied Christopher Larson 2 participants 2 messages Nov 13, 2012 – Nov 14, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 knotty: kill duplicated import of 'time'

From: Christopher Larson <[email protected]>

The duplicated import could result in an UnboundLocalError.

---
 lib/bb/ui/knotty.py | 1 -
 1 file changed, 1 deletion(-)
lib/bb/ui/knotty.py +0 -1
index b99a121..77ec730 100644
@@ -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