1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-24 17:16:12 +01:00

- do_status: "cluster" package states in the output

This only affects "osc st" in a prj wc.
This commit is contained in:
Marcus Huewe 2016-02-10 13:49:48 +01:00
parent ec6fab6793
commit 75f6b3fbc1

View File

@ -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))