Пример #1
0
def ms_initialize():
    """
   Initialize the Syndicate MS
   """
    admin = SyndicateUser.Read(ADMIN_EMAIL)
    if admin is None:
        admin_key = SyndicateUser.CreateAdmin(ADMIN_EMAIL, ADMIN_ID,
                                              ADMIN_PUBKEY, SYNDICATE_PRIVKEY)
Пример #2
0
def ms_initialize():
   """
   Initialize the Syndicate MS
   """
   admin_key = SyndicateUser.CreateAdmin( ADMIN_EMAIL, ADMIN_OPENID_URL, ADMIN_PUBLIC_KEY, ADMIN_REGISTER_PASSWORD )