1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 01:46:13 +01:00

update: when updating multiple packages, print each package name

This commit is contained in:
Dr. Peter Poeml 2007-03-29 21:53:38 +00:00
parent 0ba494298e
commit 162b52cc4d

View File

@ -553,6 +553,8 @@ usage: osc up
for p in pacs:
if len(pacs) > 1:
print "Updating %s" % p.name
# save filelist and (modified) status before replacing the meta file
saved_filenames = p.filenamelist
saved_modifiedfiles = [ f for f in p.filenamelist if p.status(f) == 'M' ]