Run "futurize -1 -w -n ."
This commit is contained in:
parent
7f11256fc8
commit
06c3dc0ed3
55 changed files with 281 additions and 244 deletions
|
|
@ -4,4 +4,5 @@ Players. These are equivalent to 'accounts' and can puppet one or
|
|||
more Objects depending on settings. A Player has no in-game existence.
|
||||
|
||||
"""
|
||||
from players import DefaultGuest, DefaultPlayer
|
||||
from __future__ import absolute_import
|
||||
from .players import DefaultGuest, DefaultPlayer
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ Bots are a special child typeclasses of
|
|||
Player that are controlled by the server.
|
||||
|
||||
"""
|
||||
from __future__ import print_function
|
||||
|
||||
from django.conf import settings
|
||||
from evennia.players.players import DefaultPlayer
|
||||
|
|
@ -154,7 +155,7 @@ class Bot(DefaultPlayer):
|
|||
a reset.
|
||||
|
||||
"""
|
||||
print "bot's at_server_shutdown called"
|
||||
print("bot's at_server_shutdown called")
|
||||
for session in self.get_all_sessions():
|
||||
session.sessionhandler.disconnect(session)
|
||||
|
||||
|
|
@ -301,7 +302,7 @@ class RSSBot(Bot):
|
|||
Echo RSS input to connected channel
|
||||
|
||||
"""
|
||||
print "execute_cmd rss:", text
|
||||
print("execute_cmd rss:", text)
|
||||
if not self.ndb.ev_channel and self.db.ev_channel:
|
||||
# cache channel lookup
|
||||
self.ndb.ev_channel = self.db.ev_channel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue