1
0
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:
Marcus Huewe 2009-12-24 21:30:02 +01:00
parent a715077769
commit f47c19d209

View File

@ -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)