Fix --nodeps by setting Pungi.is_resolve_deps according to config.

This commit is contained in:
Daniel Mach 2013-10-27 14:58:24 -04:00
parent f9f9e6a151
commit 14ffefd376

View File

@ -221,7 +221,7 @@ class Pungi(pypungi.PungiBase):
self.is_sources = not self.config.getboolean("pungi", "nosource")
self.is_debuginfo = not self.config.getboolean("pungi", "nodebuginfo")
self.is_greedy = self.config.getboolean("pungi", "alldeps")
self.is_resolve_deps = True # TODO: implement --nodepsolve
self.is_resolve_deps = self.config.getboolean("pungi", "resolve_deps")
self.fulltree_excludes = set(self.ksparser.handler.fulltree_excludes)