From 0a26e0916f1fe2cda874b0ddfe8f1b25991dfd4f Mon Sep 17 00:00:00 2001 From: "joshua.linden" Date: Mon, 15 Jun 2009 18:08:42 +0000 Subject: [PATCH] Fix two warnings reported by PyChecker - a class name typo (!) and a stylistic error. --- pyogp/lib/base/agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyogp/lib/base/agent.py b/pyogp/lib/base/agent.py index e95c73c..95c8351 100644 --- a/pyogp/lib/base/agent.py +++ b/pyogp/lib/base/agent.py @@ -488,7 +488,7 @@ class Agent(object): def send_RetrieveInstantMessages(self): """ asks simulator for instant messages stored while agent was offline """ - packet = RetrieveInstantMessagesPackets() + packet = RetrieveInstantMessagesPacket() packet.AgentDataBlock['AgentID'] = self.agent_id packet.AgentDataBlock['SessionID'] = self.session_id @@ -698,7 +698,7 @@ class Agent(object): is_running = True # start the event queue - if is_running == False: + if not is_running: self._start_EQ_on_neighboring_region(message)