Skip to content

Commit

Permalink
remove verbose from simrt and make failed http downloads a warning
Browse files Browse the repository at this point in the history
instead of error.
  • Loading branch information
caedesvvv committed Feb 13, 2011
1 parent 569a30b commit 270a30e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/b2rexpkg/baseapp.py
Expand Up @@ -128,7 +128,7 @@ def getAgent(self, agentID):
return agent

def processRegionHandshake(self, regionID, pars):
print("REGUION HANDSHAKE", pars)
print("REGION HANDSHAKE", pars)

def processLayerData(self, layerType, b64data):
data = base64.urlsafe_b64decode(b64data.encode('ascii'))
Expand All @@ -150,7 +150,7 @@ def processConnectedCommand(self, agent_id, agent_access):
self.agent_access = agent_access

def default_error_db(self, request, error):
logger.error("error downloading "+str(request)+": "+str(error))
logger.warning("error downloading "+str(request)+": "+str(error))
#traceback.print_tb(error[2])

def addDownload(self, http_url, cb, cb_pars=(), error_cb=None, main=None):
Expand Down
2 changes: 1 addition & 1 deletion scripts/b2rexpkg/simrt.py
Expand Up @@ -71,7 +71,7 @@ def unpack_v3(data, offset, min, max):

class BlenderAgent(object):
do_megahal = False
verbose = True
verbose = False
def __init__(self, in_queue, out_queue):
self.nlayers = 0
self.creating = False
Expand Down

0 comments on commit 270a30e

Please sign in to comment.