diff options
Diffstat (limited to 'meta/classes/update-rc.d.bbclass')
-rw-r--r-- | meta/classes/update-rc.d.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index d8cc34234e..55885698ae 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/update-rc.d.bbclass | |||
@@ -44,9 +44,9 @@ fi | |||
44 | def update_rc_after_parse(d): | 44 | def update_rc_after_parse(d): |
45 | if d.getVar('INITSCRIPT_PACKAGES') == None: | 45 | if d.getVar('INITSCRIPT_PACKAGES') == None: |
46 | if d.getVar('INITSCRIPT_NAME') == None: | 46 | if d.getVar('INITSCRIPT_NAME') == None: |
47 | raise bb.build.FuncFailed, "%s inherits update-rc.d but doesn't set INITSCRIPT_NAME" % d.getVar('FILE') | 47 | raise bb.build.FuncFailed("%s inherits update-rc.d but doesn't set INITSCRIPT_NAME" % d.getVar('FILE')) |
48 | if d.getVar('INITSCRIPT_PARAMS') == None: | 48 | if d.getVar('INITSCRIPT_PARAMS') == None: |
49 | raise bb.build.FuncFailed, "%s inherits update-rc.d but doesn't set INITSCRIPT_PARAMS" % d.getVar('FILE') | 49 | raise bb.build.FuncFailed("%s inherits update-rc.d but doesn't set INITSCRIPT_PARAMS" % d.getVar('FILE')) |
50 | 50 | ||
51 | python __anonymous() { | 51 | python __anonymous() { |
52 | update_rc_after_parse(d) | 52 | update_rc_after_parse(d) |