From 2c465dbbd335329b00f9d16fc63c1804970daf2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Mon, 17 Oct 2005 17:00:29 +0000 Subject: [PATCH] * remove redundant comments --- pisi/build.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pisi/build.py b/pisi/build.py index 3425e867..f2e52850 100644 --- a/pisi/build.py +++ b/pisi/build.py @@ -260,20 +260,17 @@ class Builder: def check_build_dependencies(self): """fail if dependencies not satisfied""" - #TODO: we'll have to do better than plugging a fxn here + # find out the build dependencies that are not satisfied... dep_unsatis = [] for dep in self.spec.source.buildDeps: if not dependency.installed_satisfies_dep(dep): dep_unsatis.append(dep) - # FIXME: take care of the required buildDeps... - # For now just report an error! if dep_unsatis: ctx.ui.error(_("Unsatisfied Build Dependencies:")) for dep in dep_unsatis: ctx.ui.warning(dep.package) - # FIXME: raise an exception if ignore-depends not given if not ctx.config.get_option('ignore_dependency'): raise Error(_('Cannot build package due to unsatisfied build dependencies'))