From 35000742155314ada262f85c9d4cf8275df4e393 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Wed, 16 Oct 2019 21:46:51 +0300 Subject: [PATCH] Fix "abf publish" (use PUT method) --- abf/api/jsn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abf/api/jsn.py b/abf/api/jsn.py index e09f80e..f80611d 100644 --- a/abf/api/jsn.py +++ b/abf/api/jsn.py @@ -379,7 +379,7 @@ def new_build_task(self, data): def publish(self, task_id): task_id = int(task_id) URL = "/api/v1/build_lists/%d/publish.json" % task_id - return self.get_url_contents(URL) + return self.get_url_contents(URL, GET=None) def new_pull_request(self, data, p_id): URL = "/api/v1/projects/%d/pull_requests.json" % p_id