mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-25 19:52:12 +01:00
- there's no need to fetch the packagelist if we add a new package
This commit is contained in:
parent
a715077769
commit
f47c19d209
@ -4285,7 +4285,7 @@ def addFiles(filenames, prj_obj = None):
|
||||
|
||||
for pac in pacs:
|
||||
if conf.config['do_package_tracking'] and not pac.todo:
|
||||
prj = prj_obj or Project(os.path.dirname(pac.absdir))
|
||||
prj = prj_obj or Project(os.path.dirname(pac.absdir), False)
|
||||
if pac.name in prj.pacs_unvers:
|
||||
if not prj.addPackage(pac.name):
|
||||
sys.exit(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user