From 0600b6745d55fcf95156991e5e76917fc1b45333 Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Tue, 11 Apr 2023 09:36:18 +0200 Subject: [PATCH] ls: Fix listing all projects when project equals to '/' --- osc/commandline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index f0c2b367dc..c3786c9f17 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -1303,7 +1303,7 @@ def do_list(self, subcmd, opts, *args): # 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)