* do not enter for delta.pisi
This commit is contained in:
+3
-1
@@ -91,11 +91,13 @@ class Index(XmlFile):
|
|||||||
deltas = {}
|
deltas = {}
|
||||||
for root, dirs, files in os.walk(repo_uri):
|
for root, dirs, files in os.walk(repo_uri):
|
||||||
for fn in files:
|
for fn in files:
|
||||||
|
|
||||||
if fn.endswith(ctx.const.delta_package_suffix):
|
if fn.endswith(ctx.const.delta_package_suffix):
|
||||||
name, version = util.parse_package_name(fn)
|
name, version = util.parse_package_name(fn)
|
||||||
deltas.setdefault(name, []).append(os.path.join(root, fn))
|
deltas.setdefault(name, []).append(os.path.join(root, fn))
|
||||||
if fn.endswith(ctx.const.package_suffix):
|
elif fn.endswith(ctx.const.package_suffix):
|
||||||
packages.append(os.path.join(root, fn))
|
packages.append(os.path.join(root, fn))
|
||||||
|
|
||||||
if fn == 'component.xml':
|
if fn == 'component.xml':
|
||||||
ctx.ui.info(_('Adding %s to component index') % fn)
|
ctx.ui.info(_('Adding %s to component index') % fn)
|
||||||
self.add_component(os.path.join(root, fn))
|
self.add_component(os.path.join(root, fn))
|
||||||
|
|||||||
Reference in New Issue
Block a user