def _get_all_permissions(opts):
    perms = []
    for action in ('add', 'change', 'delete'):
        perms.append((_get_permission_codename(action, opts), u'Can %s %s' % (action, opts.verbose_name_raw)))
    return perms + list(opts.permissions)
Create an argument parser.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/auth/management/__init__.py/_get_all_permissions--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/endpointscfg.py/MakeParser