Skip to content

Commit

Permalink
ls: Fix listing all projects when project equals to '/'
Browse files Browse the repository at this point in the history
  • Loading branch information
dmach committed Apr 11, 2023
1 parent 8b5f013 commit 0600b67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0600b67

Please sign in to comment.