From: Stephen Finucane Date: Thu, 8 Sep 2016 16:28:17 +0000 (+0100) Subject: xmlrpc: Bump version X-Git-Tag: v2.0.0-rc1~236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4821efa06db780e30246040a70b62fcd0c5e562a;p=thirdparty%2Fpatchwork.git xmlrpc: Bump version This should have been bumped with 'c547dc7'. Signed-off-by: Stephen Finucane Reviewed-by: Daniel Axtens --- diff --git a/patchwork/tests/test_xmlrpc.py b/patchwork/tests/test_xmlrpc.py index 0a5e457e..3b97fb19 100644 --- a/patchwork/tests/test_xmlrpc.py +++ b/patchwork/tests/test_xmlrpc.py @@ -41,7 +41,7 @@ class XMLRPCGenericTest(XMLRPCTest): def test_pw_rpc_version(self): # If you update the RPC version, update the tests! - self.assertEqual(self.rpc.pw_rpc_version(), [1, 2, 0]) + self.assertEqual(self.rpc.pw_rpc_version(), [1, 3, 0]) def test_get_redirect(self): response = self.client.patch(self.url) diff --git a/patchwork/views/xmlrpc.py b/patchwork/views/xmlrpc.py index 8d32a566..e1eeb609 100644 --- a/patchwork/views/xmlrpc.py +++ b/patchwork/views/xmlrpc.py @@ -389,10 +389,17 @@ def pw_rpc_version(): recommended that one first test the API version for compatibility before making method calls. + History: + + 1.0.0: Patchwork 1.0 release + 1.1.0: ??? + 1.2.0: ??? + 1.3.0: Add support for negative indexing of Checks + Returns: Version of the API. """ - return (1, 2, 0) + return (1, 3, 0) @xmlrpc_method()