def make_admin(username):

    dscl_base = "dscl . -append /Local/Default/Groups"
    admin_commands = [
        "/admin GroupMembership",
        "/staff GroupMembership",
        "/_lpadmin GroupMembership",
    ]

    for command in admin_commands:
        shell_tools.run("%s%s %s" % (dscl_base, command, username))
A delete command has completed successfully.
dataset/ETHPy150Open facebook/IT-CPE/code/lib/modules/account_tools.py/make_admin--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/protocols/memcache.py/MemCacheProtocol.cmd_DELETED