def onRequestCreateAccount(accountName, password, datas):
 INFO_MSG(('onRequestCreateAccount() %s' % accountName))
 errorno = KBEngine.SERVER_SUCCESS
 if (len(accountName) > 64):
  errorno = KBEngine.SERVER_ERR_NAME
 if (len(password) > 64):
  errorno = KBEngine.SERVER_ERR_PASSWORD
 return (errorno, accountName, password, datas)

def onRequestCreateAccount ( accountName , password , datas ) : INFO_MSG ( ( 'onRequestCreateAccount() %s' % accountName ) ) errorno = KBEngine . SERVER_SUCCESS if ( len ( accountName ) > 64 ) : errorno = KBEngine . SERVER_ERR_NAME if ( len ( password ) > 64 ) : errorno = KBEngine . SERVER_ERR_PASSWORD return ( errorno , accountName , password , datas )
kbengine method .