X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=apps%2Fpatchwork%2Futils.py;h=ba8349a1a037e4eea9c8cdd474b41819802065b6;hb=9708947752e828735cc92b82c624fbbabd0eb8de;hp=dfe1c92fe3c7c6895f46cdca47e9f2c24b4fed4a;hpb=f1e089f7736ac8f7b9af784461350c4c169211ad;p=patchwork diff --git a/apps/patchwork/utils.py b/apps/patchwork/utils.py index dfe1c92..ba8349a 100644 --- a/apps/patchwork/utils.py +++ b/apps/patchwork/utils.py @@ -40,10 +40,10 @@ def get_patch_ids(d, prefix = 'patch_id'): class Order(object): order_map = { - 'date': 'date', - 'name': 'name', - 'state': 'state__ordering', - 'submitter': 'submitter__name' + 'date': 'date', + 'name': 'name', + 'state': 'state__ordering', + 'submitter': 'submitter__name' } default_order = 'date' @@ -142,8 +142,6 @@ def set_patches(user, project, action, data, patches, context): str = '' - print "action: ", action - # this may be a bundle action, which doesn't modify a patch. in this # case, don't require a valid form, or patch editing permissions if action in bundle_actions: