summaryrefslogtreecommitdiffstats
path: root/pym/repoman/errors.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-29 03:29:24 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-29 03:29:24 +0000
commitbb93af369a622d63cbfd7746f51e014ce4952215 (patch)
tree5958c2b54f9465aa9a6972895b53d9bd2e377f84 /pym/repoman/errors.py
parent6a88e04ae474646b9aa366da538d552cda5a8f19 (diff)
downloadportage-bb93af369a622d63cbfd7746f51e014ce4952215.tar.gz
portage-bb93af369a622d63cbfd7746f51e014ce4952215.tar.bz2
portage-bb93af369a622d63cbfd7746f51e014ce4952215.zip
Add a new "ebuild.patches" check for the PATCHES variable that's used by
base_src_unpack() from base.eclass. This generates a warning if the variable is not defined as an array, since this is required for white space safety. Thanks to Betelgeuse for the initial patch. svn path=/main/trunk/; revision=9587
Diffstat (limited to 'pym/repoman/errors.py')
-rw-r--r--pym/repoman/errors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/repoman/errors.py b/pym/repoman/errors.py
index d1aad1d8a..90fa83820 100644
--- a/pym/repoman/errors.py
+++ b/pym/repoman/errors.py
@@ -11,4 +11,5 @@ TRAILING_WHITESPACE_ERROR = 'Trailing whitespace error on line: %d'
READONLY_ASSIGNMENT_ERROR = 'Ebuild contains assignment to read-only variable on line: %d'
MISSING_QUOTES_ERROR = 'Unquoted Variable on line: %d'
NESTED_DIE_ERROR = 'Ebuild calls die in a subshell on line: %d'
+PATCHES_ERROR = 'PATCHES is not a bash array on line: %d'
REDUNDANT_CD_S_ERROR = 'Ebuild has redundant cd ${S} statement on line: %d'