aboutsummaryrefslogtreecommitdiffstats
path: root/classes/update-alternatives.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-11-20 09:40:17 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-11-20 09:40:17 +0000
commita050fa1ffdebd94452b185cb31022e3a0a2e9d2a (patch)
tree23b442856d180c589fe90378fcf7ff4a9c15bc59 /classes/update-alternatives.bbclass
parentaea8fb5d62aff1f9056326fd5b8fd54d791912f0 (diff)
downloadopenembedded-a050fa1ffdebd94452b185cb31022e3a0a2e9d2a.tar.gz
openembedded-a050fa1ffdebd94452b185cb31022e3a0a2e9d2a.tar.bz2
openembedded-a050fa1ffdebd94452b185cb31022e3a0a2e9d2a.zip
classes: Clean up anonymous function whitespace
Diffstat (limited to 'classes/update-alternatives.bbclass')
-rw-r--r--classes/update-alternatives.bbclass4
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 () {