]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
views: Fix typo
authorStephen Finucane <stephen@that.guru>
Mon, 4 Apr 2022 17:16:19 +0000 (18:16 +0100)
committerStephen Finucane <stephen@that.guru>
Mon, 4 Apr 2022 17:16:19 +0000 (18:16 +0100)
The filename field for a patch returned by the XML-RPC API does *not*
include a file extension. This was misleading.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/views/xmlrpc.py

index 6701bf20f386bfc578c76613a8a9b555a3dd5a2d..f70c1055e3fe7d7cf9a1d2cb9bade9252d748850 100644 (file)
@@ -225,7 +225,7 @@ def patch_to_dict(obj):
     {
         'id': 1
         'date': '2000-12-31 00:11:22',
-        'filename': 'Fix-all-the-bugs.patch',
+        'filename': 'Fix-all-the-bugs',
         'msgid': '<BLU438-SMTP36690BBDD2CE71A7138B082511A@phx.gbl>',
         'name': "Fix all the bugs",
         'project': 'my-project',