self._pkg_count = self._pkg_count_class(
curval=0, maxval=merge_count)
self._max_jobs = 1
+ self._set_digraph(digraph)
self._jobs = 0
features = self.settings.features
except EnvironmentError:
pass
+ def _set_digraph(self, digraph):
+ if self._max_jobs < 2:
+ # save some memory
+ self._digraph = None
+ else:
+ self._digraph = digraph
+
class _pkg_failure(portage.exception.PortageException):
"""
An instance of this class is raised by unmerge() when
mylist = mydepgraph.altlist()
mydepgraph.break_refs(mylist)
mydepgraph.break_refs(dropped_tasks)
+ mydepgraph.break_refs(mydepgraph.digraph.order)
+ self._set_digraph(mydepgraph.digraph)
return (mylist, dropped_tasks)
def _show_list(self):