From b8f68aea9042a6d4a1d70111055f90720d20069c Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 3 Oct 2024 14:10:13 +0200 Subject: [PATCH] pcheck: fix creation of submit requests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the proper API calls … instead of the no longer working … --- osc-pcheck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc-pcheck.py b/osc-pcheck.py index 3a6dbe9cd..f19a7732a 100644 --- a/osc-pcheck.py +++ b/osc-pcheck.py @@ -114,7 +114,7 @@ def create(self, project, package, target, message): query = {'cmd': 'create'} url = osc.core.makeurl(self.apiurl, ['request'], query=query) - data = '' \ - '{message}' \ + data = '' \ + '{message}' \ ''.format(project=project, package=package, target=target, rev=currev, message=message) osc.core.http_POST(url, data=data)