summaryrefslogtreecommitdiff
path: root/cloud-init.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-04-05 00:25:02 -0400
committerScott Moser <smoser@ubuntu.com>2012-04-05 00:25:02 -0400
commit9258ae52432ab73acef139e38b930faba4858bc8 (patch)
treeea52f66dffc6c98487e5be34bfe255e0e6944e40 /cloud-init.py
parent5295dabadb8248543b2224f608371fec5e177f12 (diff)
downloadvyos-cloud-init-9258ae52432ab73acef139e38b930faba4858bc8.tar.gz
vyos-cloud-init-9258ae52432ab73acef139e38b930faba4858bc8.zip
revert improved exception printing, as it was broken
Diffstat (limited to 'cloud-init.py')
-rwxr-xr-xcloud-init.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cloud-init.py b/cloud-init.py
index 855b38e0..08be1e0c 100755
--- a/cloud-init.py
+++ b/cloud-init.py
@@ -86,8 +86,7 @@ def main():
cmdline_msg = ("cmdline: %s, %s had no cloud-config" %
(key, url))
except Exception:
- cmdline_exc = "%s\n%s\n" % (traceback.format_exc(),
- "cmdline token was %s=%s" % (key, url))
+ cmdline_exc = traceback.format_exc()
warn(cmdline_exc)
try: