diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-11-20 09:40:17 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2006-11-20 09:40:17 +0000 |
commit | a050fa1ffdebd94452b185cb31022e3a0a2e9d2a (patch) | |
tree | 23b442856d180c589fe90378fcf7ff4a9c15bc59 /classes/update-alternatives.bbclass | |
parent | aea8fb5d62aff1f9056326fd5b8fd54d791912f0 (diff) |
classes: Clean up anonymous function whitespace
Diffstat (limited to 'classes/update-alternatives.bbclass')
-rw-r--r-- | classes/update-alternatives.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/update-alternatives.bbclass b/classes/update-alternatives.bbclass index 2e24eeec48..c63581c5d1 100644 --- a/classes/update-alternatives.bbclass +++ b/classes/update-alternatives.bbclass @@ -10,7 +10,7 @@ update_alternatives_postrm() { update-alternatives --remove ${ALTERNATIVE_NAME} ${ALTERNATIVE_PATH} } -def updatealternativesafterparse(d): +def update_alternatives_after_parse(d): import bb if bb.data.getVar('ALTERNATIVE_NAME', d) == None: raise bb.build.FuncFailed, "%s inherits update-alternatives but doesn't set ALTERNATIVE_NAME" % bb.data.getVar('FILE', d) @@ -18,7 +18,7 @@ def updatealternativesafterparse(d): raise bb.build.FuncFailed, "%s inherits update-alternatives but doesn't set ALTERNATIVE_PATH" % bb.data.getVar('FILE', d) python __anonymous() { - updatealternativesafterparse(d) + update_alternatives_after_parse(d) } python populate_packages_prepend () { |