예제 #1
0
 def doRequestCentralIdentity(self, arg):
     identitycache.immediatelyCaching(settings.CentralID()).addCallbacks(
         lambda x: self.automat('central-id-success'),
         lambda x: self.automat('central-id-failed'))
예제 #2
0
 def doRequestCentralIdentity(self, arg):
     dhnio.Dprint(4, 'identity_restorer.doRequestCentralIdentity')
     identitycache.immediatelyCaching(settings.CentralID()).addCallbacks(
         lambda x: self.automat('central-id-received'),
         lambda x: self.automat('central-id-failed'))