[sldev-commits] r1008 - projects/2008/pyogp/pyogp.interop/trunk/pyogp/interop/tests

locklainn.linden at svn.secondlife.com locklainn.linden at svn.secondlife.com
Fri Aug 8 12:43:23 PDT 2008


Author: locklainn.linden
Date: 2008-08-08 14:43:23 -0500 (Fri, 08 Aug 2008)
New Revision: 1008

Modified:
   projects/2008/pyogp/pyogp.interop/trunk/pyogp/interop/tests/test_ogp_presence.py
Trac: http://svn.secondlife.com/trac/linden/changeset/1008
Log:
some print and commented lines removed

Modified: projects/2008/pyogp/pyogp.interop/trunk/pyogp/interop/tests/test_ogp_presence.py
===================================================================
--- projects/2008/pyogp/pyogp.interop/trunk/pyogp/interop/tests/test_ogp_presence.py	2008-08-08 19:35:50 UTC (rev 1007)
+++ projects/2008/pyogp/pyogp.interop/trunk/pyogp/interop/tests/test_ogp_presence.py	2008-08-08 19:43:23 UTC (rev 1008)
@@ -134,27 +134,7 @@
         self.messenger.add_data('CircuitCode', avatar.region.details['circuit_code'], \
                                 MsgType.MVT_U32)
         self.messenger.send_reliable(self.host, 0)
-        
-        """while True:
-            recv_message = ''
-            if self.messenger.receive_check() == True:
-                recv_message = self.messenger.reader.current_msg
-                print 'Message received: ' + recv_message.name
-                break
-            else:
-                print 'No message'
-        
-        # To do: this test is failing, though the ad recieved the request. the derez avatar call fails....
-        #time.sleep(10)
-      
-        tp_region = Region(self.target_region_uri)
-        place = IPlaceAvatar(agentdomain)
 
-        avatar = place(tp_region)        
-
-        self.host = Host(avatar.region.details['sim_ip'],
-                    avatar.region.details['sim_port'])"""
-
         #SENDS UUIDNameRequest
         self.messenger.new_message("UUIDNameRequest")
         self.messenger.next_block("UUIDNameBlock")
@@ -177,8 +157,7 @@
                     self.send_region_handshake_reply(self.agent_id, self.session_id)
                 elif recv_message.name == 'StartPingCheck':
                     self.send_complete_ping_check(last_ping)
-                    last_ping += 1
-                    
+                    last_ping += 1                    
                 
             else:
                 print 'No message'



More information about the sldev-commits mailing list