diff --git a/pisi/cli/commands.py b/pisi/cli/commands.py index 34cf893d..6ac1992d 100644 --- a/pisi/cli/commands.py +++ b/pisi/cli/commands.py @@ -437,6 +437,8 @@ Usage: emerge ... You should give the name of a source package to be downloaded from a repository containing sources. + +You can also give the name of a component. """ __metaclass__ = autocommand diff --git a/pisi/index.py b/pisi/index.py index 4d3786ff..fc84d842 100644 --- a/pisi/index.py +++ b/pisi/index.py @@ -158,11 +158,8 @@ class Index(XmlFile): def add_spec(self, path, repo_uri): import pisi.build ctx.ui.info(_('Adding %s to source index') % path) + #TODO: may use try/except to handle this builder = pisi.build.Builder(path) - #sf = specfile.SpecFile() - #sf.read(path) - #errs = sf.errors() - #if sf.errors(): #ctx.ui.error(_('SpecFile in %s is corrupt, skipping...') % path) #ctx.ui.error(str(Error(*errs))) builder.fetch_component()