Some minor fixes to debug output.

This commit is contained in:
Griatch 2013-05-12 20:28:30 +02:00
parent 88075bf2a0
commit 68e4384761
2 changed files with 1 additions and 2 deletions

View file

@ -218,6 +218,5 @@ class TestBatchProcess(CommandTest):
CID = 8
def test_cmds(self):
# cannot test batchcode here, it must run inside the server process
self.player.ndb.is_superuser = True
self.call(batchprocess.CmdBatchCommands(), "examples.batch_cmds", "Running Batchcommand processor Automatic mode for examples.batch_cmds")
#self.call(batchprocess.CmdBatchCode(), "examples.batch_code", "")

View file

@ -445,7 +445,7 @@ def server_services():
if hasattr(SESSIONS, "server") and hasattr(SESSIONS.server, "services"):
server = SESSIONS.server.services.namedServices
else:
print "This function must be called from inside the evennia process."
# This function must be called from inside the evennia process.
server = {}
del SESSIONS
return server