1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 14:56:14 +01:00

- do_status: call print unless "lines" is empty

This commit is contained in:
Marcus Huewe 2010-12-25 20:57:26 +01:00
parent f39460c8d8
commit 3ed4d30c55

View File

@ -2953,6 +2953,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
# 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)