* kind of a lame fix: we don't need distro to index

This commit is contained in:
Eray Özkural
2006-06-12 12:20:01 +00:00
parent cac71e4f6e
commit 2ad381ccdf
+1
View File
@@ -329,6 +329,7 @@ def index(dirs=None, output='pisi-index.xml', skip_sources=False, skip_signing=F
non_recursive=False):
"""accumulate PISI XML files in a directory"""
index = Index()
index.distribution = None
if not dirs:
dirs = ['.']
for repo_dir in dirs: