commit: fa14c0e3deb86e1e140b60876de1e695e5979944
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 20 07:52:06 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Jun 20 07:52:06 2016 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=fa14c0e3
repoman: organize _doebuild_manifest_exempt_depend code
Increments and decrements of _doebuild_manifest_exempt_depend are
meant to be paired, since they are supposed to cancel eachother
out.
repoman/pym/repoman/modules/commit/manifest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/repoman/pym/repoman/modules/commit/manifest.py
b/repoman/pym/repoman/modules/commit/manifest.py
index ce4c024..498bfa4 100644
--- a/repoman/pym/repoman/modules/commit/manifest.py
+++ b/repoman/pym/repoman/modules/commit/manifest.py
@@ -41,7 +41,6 @@ class Manifest(object):
fetchlist_dict = portage.FetchlistDict(
checkdir, self.repoman_settings, self.portdb)
if self.options.mode == 'manifest' and
self.options.force:
- portage._doebuild_manifest_exempt_depend += 1
self._create_manifest(checkdir, fetchlist_dict)
self.repoman_settings["O"] = checkdir
try:
@@ -92,6 +91,7 @@ class Manifest(object):
@param fetchlist_dict: dictionary of files to fetch and/or
include
in the manifest
'''
+ portage._doebuild_manifest_exempt_depend += 1
try:
distdir = self.repoman_settings['DISTDIR']
mf =
self.repoman_settings.repositories.get_repo_for_location(