working on ObjectUpdate.ObjectData.ObjectData

This commit is contained in:
enus.linden
2009-03-17 20:45:07 +00:00
committed by Salad Dais
parent c909610f9c
commit 6b03afe63c
2 changed files with 97 additions and 3 deletions

View File

@@ -23,6 +23,7 @@ $/LicenseInfo$
import re
import getpass, sys, logging
from optparse import OptionParser
import time
# related
from eventlet import api
@@ -90,6 +91,14 @@ def login():
# do sample script specific stuff here
now = time.time()
start = now
while now - start < 30 and client.running:
api.sleep()
# matches = client.region.objects.find_objects_by_name("mini panda particles")
# print matches
while client.running:
api.sleep(0)
@@ -106,7 +115,7 @@ def login():
print ''
print ''
for _object in client.region.objects.object_store:
print 'ID:', _object.ID, '\tUUID: ', _object.FullID , '\tUUID: ', _object.OwnerID, '\tUUID: ', _object.NameValue
print 'ID:', _object.ID, '\tUUID: ', _object.FullID , '\tUUID: ', _object.OwnerID, '\tNameValue: ', _object.NameValue
print ''
print ''
print 'Region attributes:'