Module Expr Str Import alias Import alias Import alias Import alias Import alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Import alias Import alias FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return CompareEq Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Return CompareEq Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args defaults body Print Str Print Str Print Str Print Str Print Str Print Str Print Str decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call NameLoad Expr Call NameLoad Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Print Str Expr Call NameLoad Num Print Str Expr Call NameLoad NameLoad NameLoad Print Str
N/A N/A  This script deletes a user.  N/A M2Crypto N/A os N/A string N/A sys N/A SOAPpy N/A N/A N/A N/A sys path append N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ ../lib N/A appscale_info N/A constants get_soap_accessor N/A N/A N/A N/A N/A  Returns the SOAP server accessor to deal with application and users.

  Returns:
    A soap server accessor.
   N/A db_ip N/A N/A appscale_info get_db_master_ip N/A bindport N/A constants UA_SERVER_PORT N/A N/A N/A SOAPpy SOAPProxy N/A N/A https://{0}:{1} format db_ip bindport N/A delete_user N/A N/A server email N/A N/A N/A  Deletes a user.

  Args:
    server: A SOAP server accessor.
    email: A str, the user email.
  Returns:
    True on success, False otherwise.
   N/A secret N/A N/A appscale_info get_secret N/A N/A N/A server disable_user email secret N/A N/A N/A N/A server delete_user email secret true N/A does_user_exist N/A N/A email server N/A N/A N/A  Checks to see if a user already exists. 

  Args:
    email: A str, an email address to check.
    server: A SOAP server accessor.
  Returns:
    True if the user exists, False otherwise.
   N/A secret N/A N/A appscale_info get_secret N/A N/A N/A N/A server does_user_exist email secret true N/A usage N/A N/A N/A N/A N/A N/A Deletes a user in AppScale. N/A Args: email address N/A N/A Examples: N/A   python delete_user.py bob@appscale.com N/A N/A N/A N/A __name__ __main__ N/A N/A total N/A len N/A sys argv N/A N/A total 2 N/A N/A N/A usage N/A N/A exit 1 N/A email N/A N/A sys argv N/A 1 N/A server N/A get_soap_accessor N/A N/A N/A does_user_exist email server N/A N/A User does not exist. N/A N/A exit 1 N/A Deleting user... N/A N/A delete_user server email N/A Done.