OTP: Remove spam

This commit is contained in:
loblao 2015-03-15 12:32:31 -03:00
parent b0c440a951
commit 3c41567f52
2 changed files with 8 additions and 3 deletions

View file

@ -1360,8 +1360,6 @@ class OTPClientRepository(ClientRepositoryBase):
h = HashVal()
hashPrcVariables(h)
pyc = HashVal()
if not __dev__:
self.hashFiles(pyc)
self.timeManager.d_setSignature(self.userSignature, h.asBin(), pyc.asBin())
self.timeManager.sendCpuInfo()
if self.timeManager.synchronize('startup'):

View file

@ -24,7 +24,14 @@ if __debug__:
loadPrcFile('config/general.prc')
loadPrcFile('config/release/dev.prc')
defaultText = "print('I work!')"
defaultText = '''door = base.cr.doFind('tedDoor')
bldg = door.getBuilding()
doorTrigger = bldg.find('**/door_' + str(door.doorIndex) + '/**/door_trigger*')
doorTrigger.show()
doorTrigger.node().setName(self.getTriggerName())
print doorTrigger
print door.getEnterTriggerEvent()
print messenger.whoAccepts('enterdoor_trigger_20')'''
def __inject_wx(_):
code = textbox.GetValue()