]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/utils.py
Remove 'action: ' print output
[patchwork] / apps / patchwork / utils.py
index dfe1c92fe3c7c6895f46cdca47e9f2c24b4fed4a..ba8349a1a037e4eea9c8cdd474b41819802065b6 100644 (file)
@@ -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: