* cleanup, doc

This commit is contained in:
Eray Özkural
2006-06-08 15:35:10 +00:00
parent 1a6655d0b4
commit 49e62e3a1e
2 changed files with 3 additions and 4 deletions
+2
View File
@@ -437,6 +437,8 @@ Usage: emerge <sourcename> ...
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
+1 -4
View File
@@ -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()