mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
- do_status: "cluster" package states in the output
This only affects "osc st" in a prj wc.
This commit is contained in:
parent
ec6fab6793
commit
75f6b3fbc1
@ -4370,10 +4370,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
p = findpacs([arg])[0]
|
||||
for st, filename in sorted(p.get_status(opts.show_excluded, *excl_states), lambda x, y: cmp(x[1], y[1])):
|
||||
lines.append(statfrmt(st, os.path.normpath(os.path.join(p.dir, filename))))
|
||||
# arrange the lines in order: unknown files first
|
||||
# filenames are already sorted
|
||||
lines = [l for l in lines if l[0] == '?'] + \
|
||||
[l for l in lines if l[0] != '?']
|
||||
if lines:
|
||||
print('\n'.join(lines))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user