home
·
contact
·
privacy
projects
/
plomlombot-irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f80a0c0
)
"while 1" -> "while True"
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 17 Jan 2016 22:50:31 +0000
(23:50 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 17 Jan 2016 22:50:31 +0000
(23:50 +0100)
plomlombot.py
patch
|
blob
|
history
diff --git
a/plomlombot.py
b/plomlombot.py
index a47158c302a3341cbe3e3777410b6e073c0a485d..5fcd517a95f563cfba7a00146d1e6359780a0472 100755
(executable)
--- a/
plomlombot.py
+++ b/
plomlombot.py
@@
-141,7
+141,7
@@
def lineparser_loop(io, nickname):
msg = str.join(" ", tokens[3:])[1:]
url_check(msg)
- while
1
:
+ while
True
:
line = io.recv_line()
if not line:
continue
@@
-177,7
+177,7
@@
def parse_command_line_arguments():
return opts
opts = parse_command_line_arguments()
-while
1
:
+while
True
:
try:
io = init_session(opts.server, opts.port, opts.timeout, opts.nickname,
opts.username, opts.CHANNEL)