diff options
Diffstat (limited to 'cloud-init-cfg.py')
-rwxr-xr-x | cloud-init-cfg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud-init-cfg.py b/cloud-init-cfg.py index 442fc4d8..75ede23f 100755 --- a/cloud-init-cfg.py +++ b/cloud-init-cfg.py @@ -65,7 +65,7 @@ def main(): try: (outfmt, errfmt) = CC.get_output_cfg(cc.cfg,modename) CC.redirect_output(outfmt, errfmt) - except Exception, e: + except Exception as e: err("Failed to get and set output config: %s\n" % e) cloudinit.logging_set_from_cfg(cc.cfg) |