hood: Comment out quiet zone debug prints. Fixes #24
This commit is contained in:
parent
4d78125977
commit
a90d259b20
1 changed files with 8 additions and 8 deletions
|
@ -140,7 +140,7 @@ class QuietZoneState(StateData.StateData):
|
||||||
|
|
||||||
if not config.GetBool('astron-support', True):
|
if not config.GetBool('astron-support', True):
|
||||||
def handleWaitForQuietZoneResponse(self, msgType, di):
|
def handleWaitForQuietZoneResponse(self, msgType, di):
|
||||||
self.notify.debug('handleWaitForQuietZoneResponse(' + 'msgType=' + str(msgType) + ', di=' + str(di) + ')')
|
# self.notify.debug('handleWaitForQuietZoneResponse(' + 'msgType=' + str(msgType) + ', di=' + str(di) + ')')
|
||||||
if msgType == CLIENT_CREATE_OBJECT_REQUIRED:
|
if msgType == CLIENT_CREATE_OBJECT_REQUIRED:
|
||||||
base.cr.handleQuietZoneGenerateWithRequired(di)
|
base.cr.handleQuietZoneGenerateWithRequired(di)
|
||||||
elif msgType == CLIENT_CREATE_OBJECT_REQUIRED_OTHER:
|
elif msgType == CLIENT_CREATE_OBJECT_REQUIRED_OTHER:
|
||||||
|
@ -153,7 +153,7 @@ class QuietZoneState(StateData.StateData):
|
||||||
base.cr.handlePlayGame(msgType, di)
|
base.cr.handlePlayGame(msgType, di)
|
||||||
else:
|
else:
|
||||||
def handleWaitForQuietZoneResponse(self, msgType, di):
|
def handleWaitForQuietZoneResponse(self, msgType, di):
|
||||||
self.notify.debug('handleWaitForQuietZoneResponse(' + 'msgType=' + str(msgType) + ', di=' + str(di) + ')')
|
# self.notify.debug('handleWaitForQuietZoneResponse(' + 'msgType=' + str(msgType) + ', di=' + str(di) + ')')
|
||||||
if msgType == CLIENT_ENTER_OBJECT_REQUIRED:
|
if msgType == CLIENT_ENTER_OBJECT_REQUIRED:
|
||||||
base.cr.handleQuietZoneGenerateWithRequired(di)
|
base.cr.handleQuietZoneGenerateWithRequired(di)
|
||||||
elif msgType == CLIENT_ENTER_OBJECT_REQUIRED_OTHER:
|
elif msgType == CLIENT_ENTER_OBJECT_REQUIRED_OTHER:
|
||||||
|
@ -167,7 +167,7 @@ class QuietZoneState(StateData.StateData):
|
||||||
|
|
||||||
if not config.GetBool('astron-support', True):
|
if not config.GetBool('astron-support', True):
|
||||||
def handleWaitForZoneRedirect(self, msgType, di):
|
def handleWaitForZoneRedirect(self, msgType, di):
|
||||||
self.notify.debug('handleWaitForZoneRedirect(' + 'msgType=' + str(msgType) + ', di=' + str(di) + ')')
|
# self.notify.debug('handleWaitForZoneRedirect(' + 'msgType=' + str(msgType) + ', di=' + str(di) + ')')
|
||||||
if msgType == CLIENT_CREATE_OBJECT_REQUIRED:
|
if msgType == CLIENT_CREATE_OBJECT_REQUIRED:
|
||||||
base.cr.handleQuietZoneGenerateWithRequired(di)
|
base.cr.handleQuietZoneGenerateWithRequired(di)
|
||||||
elif msgType == CLIENT_CREATE_OBJECT_REQUIRED_OTHER:
|
elif msgType == CLIENT_CREATE_OBJECT_REQUIRED_OTHER:
|
||||||
|
@ -178,7 +178,7 @@ class QuietZoneState(StateData.StateData):
|
||||||
base.cr.handlePlayGame(msgType, di)
|
base.cr.handlePlayGame(msgType, di)
|
||||||
else:
|
else:
|
||||||
def handleWaitForZoneRedirect(self, msgType, di):
|
def handleWaitForZoneRedirect(self, msgType, di):
|
||||||
self.notify.debug('handleWaitForZoneRedirect(' + 'msgType=' + str(msgType) + ', di=' + str(di) + ')')
|
# self.notify.debug('handleWaitForZoneRedirect(' + 'msgType=' + str(msgType) + ', di=' + str(di) + ')')
|
||||||
if msgType == CLIENT_ENTER_OBJECT_REQUIRED:
|
if msgType == CLIENT_ENTER_OBJECT_REQUIRED:
|
||||||
base.cr.handleQuietZoneGenerateWithRequired(di)
|
base.cr.handleQuietZoneGenerateWithRequired(di)
|
||||||
elif msgType == CLIENT_ENTER_OBJECT_REQUIRED_OTHER:
|
elif msgType == CLIENT_ENTER_OBJECT_REQUIRED_OTHER:
|
||||||
|
@ -199,7 +199,7 @@ class QuietZoneState(StateData.StateData):
|
||||||
self._setZoneCompleteLocalCallbacks = {}
|
self._setZoneCompleteLocalCallbacks = {}
|
||||||
|
|
||||||
def enterWaitForQuietZoneResponse(self):
|
def enterWaitForQuietZoneResponse(self):
|
||||||
self.notify.debug('enterWaitForQuietZoneResponse(doneStatus=' + str(self._requestStatus) + ')')
|
# self.notify.debug('enterWaitForQuietZoneResponse(doneStatus=' + str(self._requestStatus) + ')')
|
||||||
if not self.Disable:
|
if not self.Disable:
|
||||||
base.cr.handler = self.handleWaitForQuietZoneResponse
|
base.cr.handler = self.handleWaitForQuietZoneResponse
|
||||||
base.cr.handlerArgs = self._requestStatus
|
base.cr.handlerArgs = self._requestStatus
|
||||||
|
@ -231,7 +231,7 @@ class QuietZoneState(StateData.StateData):
|
||||||
return
|
return
|
||||||
|
|
||||||
def enterWaitForZoneRedirect(self):
|
def enterWaitForZoneRedirect(self):
|
||||||
self.notify.debug('enterWaitForZoneRedirect(requestStatus=' + str(self._requestStatus) + ')')
|
# self.notify.debug('enterWaitForZoneRedirect(requestStatus=' + str(self._requestStatus) + ')')
|
||||||
if not self.Disable:
|
if not self.Disable:
|
||||||
base.cr.handler = self.handleWaitForZoneRedirect
|
base.cr.handler = self.handleWaitForZoneRedirect
|
||||||
base.cr.handlerArgs = self._requestStatus
|
base.cr.handlerArgs = self._requestStatus
|
||||||
|
@ -276,7 +276,7 @@ class QuietZoneState(StateData.StateData):
|
||||||
return
|
return
|
||||||
|
|
||||||
def enterWaitForSetZoneResponse(self):
|
def enterWaitForSetZoneResponse(self):
|
||||||
self.notify.debug('enterWaitForSetZoneResponse(requestStatus=' + str(self._requestStatus) + ')')
|
# self.notify.debug('enterWaitForSetZoneResponse(requestStatus=' + str(self._requestStatus) + ')')
|
||||||
if not self.Disable:
|
if not self.Disable:
|
||||||
messenger.send(self.getEnterWaitForSetZoneResponseMsg(), [self._requestStatus])
|
messenger.send(self.getEnterWaitForSetZoneResponseMsg(), [self._requestStatus])
|
||||||
base.cr.handlerArgs = self._requestStatus
|
base.cr.handlerArgs = self._requestStatus
|
||||||
|
@ -295,7 +295,7 @@ class QuietZoneState(StateData.StateData):
|
||||||
return
|
return
|
||||||
|
|
||||||
def enterWaitForSetZoneComplete(self):
|
def enterWaitForSetZoneComplete(self):
|
||||||
self.notify.debug('enterWaitForSetZoneComplete(requestStatus=' + str(self._requestStatus) + ')')
|
# self.notify.debug('enterWaitForSetZoneComplete(requestStatus=' + str(self._requestStatus) + ')')
|
||||||
if not self.Disable:
|
if not self.Disable:
|
||||||
base.cr.handlerArgs = self._requestStatus
|
base.cr.handlerArgs = self._requestStatus
|
||||||
if base.slowQuietZone:
|
if base.slowQuietZone:
|
||||||
|
|
Loading…
Reference in a new issue