mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-23 05:26:16 +01:00
- do_addremove: use local variable instead of an attribute (cosmetic)
This commit is contained in:
parent
c69237b14d
commit
e8f0e78672
@ -4269,8 +4269,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
|
|
||||||
pacs = findpacs(args)
|
pacs = findpacs(args)
|
||||||
for p in pacs:
|
for p in pacs:
|
||||||
p.todo = list(set(p.filenamelist + p.filenamelist_unvers + p.to_be_added))
|
todo = list(set(p.filenamelist + p.filenamelist_unvers + p.to_be_added))
|
||||||
for filename in p.todo:
|
for filename in todo:
|
||||||
if os.path.isdir(filename):
|
if os.path.isdir(filename):
|
||||||
continue
|
continue
|
||||||
# ignore foo.rXX, foo.mine for files which are in 'C' state
|
# ignore foo.rXX, foo.mine for files which are in 'C' state
|
||||||
|
Loading…
Reference in New Issue
Block a user