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

- do_addremove: use local variable instead of an attribute (cosmetic)

This commit is contained in:
Marcus Huewe 2014-10-21 22:15:54 +02:00
parent c69237b14d
commit e8f0e78672

View File

@ -4269,8 +4269,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
pacs = findpacs(args)
for p in pacs:
p.todo = list(set(p.filenamelist + p.filenamelist_unvers + p.to_be_added))
for filename in p.todo:
todo = list(set(p.filenamelist + p.filenamelist_unvers + p.to_be_added))
for filename in todo:
if os.path.isdir(filename):
continue
# ignore foo.rXX, foo.mine for files which are in 'C' state