mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-23 10:42:14 +01:00
Fix list no copy attribute on python2
This commit is contained in:
parent
759537807c
commit
9d7cefa1ad
@ -4989,7 +4989,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
if not conf.config['local_service_run'] or opts.skip_local_service_run:
|
if not conf.config['local_service_run'] or opts.skip_local_service_run:
|
||||||
skip_local_service_run = True
|
skip_local_service_run = True
|
||||||
|
|
||||||
for arg in args.copy():
|
for arg in args[:]:
|
||||||
if conf.config['do_package_tracking'] and is_project_dir(arg):
|
if conf.config['do_package_tracking'] and is_project_dir(arg):
|
||||||
prj = Project(arg)
|
prj = Project(arg)
|
||||||
|
|
||||||
@ -5016,7 +5016,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
|
|
||||||
pacs, no_pacs = findpacs(args, fatal=False)
|
pacs, no_pacs = findpacs(args, fatal=False)
|
||||||
|
|
||||||
for pac in pacs.copy():
|
for pac in pacs[:]:
|
||||||
if pac.scm_url:
|
if pac.scm_url:
|
||||||
print("WARNING: Skipping package '{}' because it is managed in scm (git): {}".format(pac.name, pac.scm_url))
|
print("WARNING: Skipping package '{}' because it is managed in scm (git): {}".format(pac.name, pac.scm_url))
|
||||||
pacs.remove(pac)
|
pacs.remove(pac)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user