From 138d5303e61b9f54b8656e33948c76ebc291e1d9 Mon Sep 17 00:00:00 2001 From: Marco Strigl Date: Wed, 22 Nov 2023 14:33:06 +0100 Subject: [PATCH] remove public route from osc --- osc/commandline.py | 2 +- osc/core.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index f2892b82..b7c19bc6 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -4860,7 +4860,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. return (parent_project, parent_package) def _pdiff_get_exists_and_parent(self, apiurl, project, package): - link_url = makeurl(apiurl, ['public', 'source', project, package]) + link_url = makeurl(apiurl, ['source', project, package]) try: file = http_GET(link_url) root = ET.parse(file).getroot() diff --git a/osc/core.py b/osc/core.py index bda78ddf..3a5543dc 100644 --- a/osc/core.py +++ b/osc/core.py @@ -3938,7 +3938,7 @@ def show_pattern_meta(apiurl: str, prj: str, pattern: str): def show_configuration(apiurl): - u = makeurl(apiurl, ['public', 'configuration']) + u = makeurl(apiurl, ['configuration']) f = http_GET(u) return f.readlines()