diff options
author | Scott Moser <smoser@brickies.net> | 2016-08-05 17:35:33 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2016-08-05 17:36:54 -0400 |
commit | d0b2863bc8dfab2919b11bbcc2584c1c51223028 (patch) | |
tree | 00b0c19b63f302d8c6433697ffd5e783e70ebdd0 | |
parent | 78ec0f0c03edaba50aa3383b612520061cd94429 (diff) | |
download | vyos-cloud-init-d0b2863bc8dfab2919b11bbcc2584c1c51223028.tar.gz vyos-cloud-init-d0b2863bc8dfab2919b11bbcc2584c1c51223028.zip |
adjust signal_handler for version changes.
signal_handler was still using vr.version().
-rw-r--r-- | cloudinit/signal_handler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/signal_handler.py b/cloudinit/signal_handler.py index 0d95f506..d76223d1 100644 --- a/cloudinit/signal_handler.py +++ b/cloudinit/signal_handler.py @@ -54,7 +54,7 @@ def _pprint_frame(frame, depth, max_depth, contents): def _handle_exit(signum, frame): (msg, rc) = EXIT_FOR[signum] - msg = msg % ({'version': vr.version()}) + msg = msg % ({'version': vr.version_string()}) contents = StringIO() contents.write("%s\n" % (msg)) _pprint_frame(frame, 1, BACK_FRAME_TRACE_DEPTH, contents) |