summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-28 22:38:51 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-28 22:38:51 +0000
commit48f817b0cd6d48636685d11a27af2067b17d5b3e (patch)
treeab3aa34448caad2ca7224cef69c13ac53c98b9e9
parenta25821b89360613830b5d46c156c0a94f0bf78f6 (diff)
downloadportage-48f817b0cd6d48636685d11a27af2067b17d5b3e.tar.gz
portage-48f817b0cd6d48636685d11a27af2067b17d5b3e.tar.bz2
portage-48f817b0cd6d48636685d11a27af2067b17d5b3e.zip
* Remove unused EbuildBuild.pretend attribute.
* Add TODO not about asynchronous execution. svn path=/main/trunk/; revision=10838
-rw-r--r--pym/_emerge/__init__.py14
1 files 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)