From 48f817b0cd6d48636685d11a27af2067b17d5b3e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 28 Jun 2008 22:38:51 +0000 Subject: [PATCH] * Remove unused EbuildBuild.pretend attribute. * Add TODO not about asynchronous execution. svn path=/main/trunk/; revision=10838 --- pym/_emerge/__init__.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index a0191d1f0..4ae7d78be 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -1452,8 +1452,10 @@ class EbuildFetcher(Task): return retval class EbuildBuild(Task): - - __slots__ = ("pkg", "pretend", "settings") + """ + TODO: Support asynchronous execution, to implement parallel builds. + """ + __slots__ = ("pkg", "settings") def _get_hash_key(self): hash_key = getattr(self, "_hash_key", None) @@ -1475,7 +1477,7 @@ class EbuildBuild(Task): class EbuildBinpkg(Task): - __slots__ = ("pkg", "pretend", "settings") + __slots__ = ("pkg", "settings") def _get_hash_key(self): hash_key = getattr(self, "_hash_key", None) @@ -6515,8 +6517,7 @@ class MergeTask(object): (mergecount, len(mymergelist), pkg_key) emergelog(xterm_titles, msg, short_msg=short_msg) - build = EbuildBinpkg(pkg=pkg, pretend=pretend, - settings=pkgsettings) + build = EbuildBinpkg(pkg=pkg, settings=pkgsettings) retval = build.execute() if retval != os.EX_OK: raise self._pkg_failure(retval) @@ -6546,8 +6547,7 @@ class MergeTask(object): (mergecount, len(mymergelist), pkg_key) emergelog(xterm_titles, msg, short_msg=short_msg) - build = EbuildBuild(ldpath_mtimes=ldpath_mtimes, - pkg=pkg, pretend=pretend, settings=pkgsettings) + build = EbuildBuild(pkg=pkg, settings=pkgsettings) retval = build.execute() if retval != os.EX_OK: raise self._pkg_failure(retval) -- 2.26.2