diff options
Diffstat (limited to 'meta-openstack/classes/openstackchef_inc.bbclass')
-rw-r--r-- | meta-openstack/classes/openstackchef_inc.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-openstack/classes/openstackchef_inc.bbclass b/meta-openstack/classes/openstackchef_inc.bbclass index b8757be..048fce6 100644 --- a/meta-openstack/classes/openstackchef_inc.bbclass +++ b/meta-openstack/classes/openstackchef_inc.bbclass | |||
@@ -248,7 +248,7 @@ def deploychef_make_startup_shutdown_list(d): | |||
248 | raise bb.build.FuncFailed(msg) | 248 | raise bb.build.FuncFailed(msg) |
249 | hStartup.close() | 249 | hStartup.close() |
250 | hShutdown.close() | 250 | hShutdown.close() |
251 | except IOError, e: | 251 | except IOError as e: |
252 | bb.error("Error opening startup/shutdown files %s %s, %s %s" % \ | 252 | bb.error("Error opening startup/shutdown files %s %s, %s %s" % \ |
253 | (startup_file, shutdown_file, d.getVar('FILE'), e)) | 253 | (startup_file, shutdown_file, d.getVar('FILE'), e)) |
254 | else: | 254 | else: |
@@ -381,7 +381,7 @@ def deploychef_make_templates( d, conf_tuple=tuple()): | |||
381 | deploychef_make_substitutions(d, sub_dict, attr_file, file_name) | 381 | deploychef_make_substitutions(d, sub_dict, attr_file, file_name) |
382 | else: | 382 | else: |
383 | bb.build.FuncFailed(msg) | 383 | bb.build.FuncFailed(msg) |
384 | except IOError, e: | 384 | except IOError as e: |
385 | bb.error("Could not write to attribute file %s: in %s, %s" % \ | 385 | bb.error("Could not write to attribute file %s: in %s, %s" % \ |
386 | (attr_file, d.getVar('FILE'), e)) | 386 | (attr_file, d.getVar('FILE'), e)) |
387 | 387 | ||