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:
commit
96c193545e
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user