]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/utils.py
Add pwclientrc configuration file sample for each project
[patchwork] / apps / patchwork / utils.py
index 76679c39e30fb0d09a6bb22d0440dd40348605da..05e66e26eb0c72bd9b7e0db0378fc9e5d012a1cb 100644 (file)
@@ -43,7 +43,8 @@ class Order(object):
         'date':         'date',
         'name':         'name',
         'state':        'state__ordering',
-        'submitter':    'submitter__name'
+        'submitter':    'submitter__name',
+        'delegate':     'delegate__username',
     }
     default_order = 'date'
 
@@ -142,8 +143,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: