def _get_all_permissions(opts):
    "Returns (codename, name) for all permissions in the given opts."
    perms = []
    for action in ('add', 'change', 'delete'):
        perms.append((_get_permission_codename(action, opts), (action, opts.verbose_name_raw) % u'Can %s %s'))
    return perms + list(opts.permissions)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/auth/management/__init__.py/_get_all_permissions/swapped operands of `%`