mirror of
https://github.com/imcarlost/pidcat-repl.git
synced 2026-08-08 23:17:43 -04:00
Tweaks.
This commit is contained in:
@@ -120,6 +120,8 @@ while True:
|
|||||||
line = input.readline()
|
line = input.readline()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
break
|
break
|
||||||
|
if len(line) == 0:
|
||||||
|
break
|
||||||
|
|
||||||
log_line = LOG_LINE.match(line)
|
log_line = LOG_LINE.match(line)
|
||||||
if not log_line is None:
|
if not log_line is None:
|
||||||
@@ -186,7 +188,4 @@ while True:
|
|||||||
message = matcher.sub(replace, message)
|
message = matcher.sub(replace, message)
|
||||||
|
|
||||||
linebuf += indent_wrap(message)
|
linebuf += indent_wrap(message)
|
||||||
line = linebuf
|
print linebuf
|
||||||
|
|
||||||
print line
|
|
||||||
if len(line) == 0: break
|
|
||||||
|
|||||||
Reference in New Issue
Block a user