]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/views/xmlrpc.py
tox: Add tox.ini file
[patchwork] / apps / patchwork / views / xmlrpc.py
index a109866108b83a2a22ccb088837eddce03d3de0c..84ed4089b346812f241789e35af4e69624302080 100644 (file)
@@ -300,6 +300,7 @@ def patch_list(filter={}):
             "project_id",
             "submitter_id",
             "delegate_id",
+            "archived",
             "state_id",
             "date",
             "commit_ref",
@@ -381,7 +382,7 @@ def patch_get_mbox(patch_id):
     """Return mbox string for the given patch ID."""
     try:
         patch = Patch.objects.filter(id = patch_id)[0]
-        return patch_to_mbox(patch).as_string()
+        return patch_to_mbox(patch).as_string(True)
     except:
         return ""