summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-10-31 23:33:50 +0000
committerZac Medico <zmedico@gentoo.org>2009-10-31 23:33:50 +0000
commit8a55738f54b7e9dd586b43d9ef9cd4b50fb62519 (patch)
tree596d2cf6df9b1d780e2a38b007f4b27be54f466d /bin
parentMake cacheddir() always behave like EmptyOnError is True, since listdir() (diff)
downloadportage-multirepo-8a55738f54b7e9dd586b43d9ef9cd4b50fb62519.tar.gz
portage-multirepo-8a55738f54b7e9dd586b43d9ef9cd4b50fb62519.tar.bz2
portage-multirepo-8a55738f54b7e9dd586b43d9ef9cd4b50fb62519.zip
Bug #290921 - Always exit unsuccessfully if -r is not specified and a
directory is skipped. This reverts a behavior change from r9484. (trunk r14760) svn path=/main/branches/2.1.7/; revision=14764
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dohtml.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/bin/dohtml.py b/bin/dohtml.py
index 71cbb629..84bc92f1 100755
--- a/bin/dohtml.py
+++ b/bin/dohtml.py
@@ -176,14 +176,15 @@ def main():
dirname = os.path.dirname(x)
success |= install(basename, dirname, options)
- if success:
+ global skipped_directories
+ for x in skipped_directories:
+ eqawarn(["QA Notice: dohtml on directory " + \
+ "'%s' without recursion option" % x])
+
+ if success and not skipped_directories:
retcode = 0
else:
retcode = 1
- global skipped_directories
- for x in skipped_directories:
- eqawarn(["QA Notice: dohtml on directory " + \
- "'%s' without recursion option" % x])
sys.exit(retcode)