[PATCH 1/6] xmlrpc: add 'archived' status to patch summary

Brian Norris computersforpeace at gmail.com
Sun Nov 23 15:38:41 AEDT 2014


This will now show up in 'pwclient info'.

Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 apps/patchwork/views/xmlrpc.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/patchwork/views/xmlrpc.py b/apps/patchwork/views/xmlrpc.py
index ca84c94cdc7c..6a561d34742c 100644
--- a/apps/patchwork/views/xmlrpc.py
+++ b/apps/patchwork/views/xmlrpc.py
@@ -198,6 +198,7 @@ def patch_to_dict(obj):
          'project_id'   : obj.project_id,
          'state'        : unicode(obj.state).encode("utf-8"),
          'state_id'     : obj.state_id,
+         'archived'     : obj.archived,
          'submitter'    : unicode(obj.submitter).encode("utf-8"),
          'submitter_id' : obj.submitter_id,
          'delegate'     : unicode(obj.delegate).encode("utf-8"),
-- 
2.2.0.rc2



More information about the Patchwork mailing list