summaryrefslogtreecommitdiff
path: root/classes/update-rc.d.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-rc.d.bbclass
parentaea8fb5d62aff1f9056326fd5b8fd54d791912f0 (diff)
classes: Clean up anonymous function whitespace
Diffstat (limited to 'classes/update-rc.d.bbclass')
-rw-r--r--classes/update-rc.d.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/classes/update-rc.d.bbclass b/classes/update-rc.d.bbclass
index 581859ad48..9821eec5b2 100644
--- a/classes/update-rc.d.bbclass
+++ b/classes/update-rc.d.bbclass
@@ -30,10 +30,10 @@ update-rc.d $D ${INITSCRIPT_NAME} remove
def update_rc_after_parse(d):
import bb
if bb.data.getVar('INITSCRIPT_PACKAGES', d) == None:
- if bb.data.getVar('INITSCRIPT_NAME', d) == None:
- raise bb.build.FuncFailed, "%s inherits update-rc.d but doesn't set INITSCRIPT_NAME" % bb.data.getVar('FILE', d)
- if bb.data.getVar('INITSCRIPT_PARAMS', d) == None:
- raise bb.build.FuncFailed, "%s inherits update-rc.d but doesn't set INITSCRIPT_PARAMS" % bb.data.getVar('FILE', d)
+ if bb.data.getVar('INITSCRIPT_NAME', d) == None:
+ raise bb.build.FuncFailed, "%s inherits update-rc.d but doesn't set INITSCRIPT_NAME" % bb.data.getVar('FILE', d)
+ if bb.data.getVar('INITSCRIPT_PARAMS', d) == None:
+ raise bb.build.FuncFailed, "%s inherits update-rc.d but doesn't set INITSCRIPT_PARAMS" % bb.data.getVar('FILE', d)
python __anonymous() {
update_rc_after_parse(d)