Remove unnecessary print functions.
This commit is contained in:
parent
d1244b41db
commit
28a754033e
3 changed files with 0 additions and 4 deletions
|
|
@ -208,7 +208,6 @@ class TradeHandler(object):
|
||||||
partB (object): The party accepting the barter.
|
partB (object): The party accepting the barter.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
print("join:", self.partB, partB, self.partB == partB, type(self.partB), type(partB))
|
|
||||||
if self.partB == partB:
|
if self.partB == partB:
|
||||||
self.partB.ndb.tradehandler = self
|
self.partB.ndb.tradehandler = self
|
||||||
self.partB.cmdset.add(CmdsetTrade())
|
self.partB.cmdset.add(CmdsetTrade())
|
||||||
|
|
|
||||||
|
|
@ -155,7 +155,6 @@ class Bot(DefaultPlayer):
|
||||||
a reset.
|
a reset.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
print("bot's at_server_shutdown called")
|
|
||||||
for session in self.get_all_sessions():
|
for session in self.get_all_sessions():
|
||||||
session.sessionhandler.disconnect(session)
|
session.sessionhandler.disconnect(session)
|
||||||
|
|
||||||
|
|
@ -302,7 +301,6 @@ class RSSBot(Bot):
|
||||||
Echo RSS input to connected channel
|
Echo RSS input to connected channel
|
||||||
|
|
||||||
"""
|
"""
|
||||||
print("execute_cmd rss:", text)
|
|
||||||
if not self.ndb.ev_channel and self.db.ev_channel:
|
if not self.ndb.ev_channel and self.db.ev_channel:
|
||||||
# cache channel lookup
|
# cache channel lookup
|
||||||
self.ndb.ev_channel = self.db.ev_channel
|
self.ndb.ev_channel = self.db.ev_channel
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,6 @@ class IRCBot(irc.IRCClient, Session):
|
||||||
reason (str): Motivation for the disconnect.
|
reason (str): Motivation for the disconnect.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
print("irc disconnect called!")
|
|
||||||
self.sessionhandler.disconnect(self)
|
self.sessionhandler.disconnect(self)
|
||||||
self.stopping = True
|
self.stopping = True
|
||||||
self.transport.loseConnection()
|
self.transport.loseConnection()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue