1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

remove public route from osc

This commit is contained in:
Marco Strigl 2023-11-22 14:33:06 +01:00
parent c662d70822
commit 138d5303e6
2 changed files with 2 additions and 2 deletions

View File

@ -4860,7 +4860,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
return (parent_project, parent_package) return (parent_project, parent_package)
def _pdiff_get_exists_and_parent(self, apiurl, project, 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: try:
file = http_GET(link_url) file = http_GET(link_url)
root = ET.parse(file).getroot() root = ET.parse(file).getroot()

View File

@ -3938,7 +3938,7 @@ def show_pattern_meta(apiurl: str, prj: str, pattern: str):
def show_configuration(apiurl): def show_configuration(apiurl):
u = makeurl(apiurl, ['public', 'configuration']) u = makeurl(apiurl, ['configuration'])
f = http_GET(u) f = http_GET(u)
return f.readlines() return f.readlines()