1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-26 06:46:13 +01:00

Merge pull request #1297 from dmach/fix-ls-slash

ls: Fix listing all projects when project equals to '/'
This commit is contained in:
Daniel Mach 2023-04-11 13:26:58 +02:00 committed by GitHub
commit 96c193545e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1303,7 +1303,7 @@ class Osc(cmdln.Cmdln):
# list sources
elif not opts.binaries:
if not args:
if not args or not project:
for prj in meta_get_project_list(apiurl, opts.deleted):
print(prj)