From 68e43847614f6b2666f00c6ea6c9a103b583b5db Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 12 May 2013 20:28:30 +0200 Subject: [PATCH] Some minor fixes to debug output. --- src/commands/default/tests.py | 1 - src/utils/utils.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/commands/default/tests.py b/src/commands/default/tests.py index d2002bbbd..250dd6a57 100644 --- a/src/commands/default/tests.py +++ b/src/commands/default/tests.py @@ -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", "") diff --git a/src/utils/utils.py b/src/utils/utils.py index 6d379d80d..a10d1b473 100644 --- a/src/utils/utils.py +++ b/src/utils/utils.py @@ -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