summaryrefslogtreecommitdiff
path: root/ec2-run-user-data.py
diff options
context:
space:
mode:
authorChuck Short <zulcss@ubuntu.com>2009-04-08 18:01:15 +0100
committerBazaar Package Importer <jamesw@ubuntu.com>2009-04-08 18:01:15 +0100
commitc8edc989063e6e14d04bd9c78b2f96537a988ef1 (patch)
tree9931b1bd31499ec47207e0c595c9e7bd4673a803 /ec2-run-user-data.py
parentc3ba031b7feb74bfbaf54fd73b599c95ed0df765 (diff)
downloadvyos-cloud-init-c8edc989063e6e14d04bd9c78b2f96537a988ef1.tar.gz
vyos-cloud-init-c8edc989063e6e14d04bd9c78b2f96537a988ef1.zip
ec2-run-user-data.py: Fix error.
Diffstat (limited to 'ec2-run-user-data.py')
-rwxr-xr-xec2-run-user-data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ec2-run-user-data.py b/ec2-run-user-data.py
index ef3b86b1..513c64ff 100755
--- a/ec2-run-user-data.py
+++ b/ec2-run-user-data.py
@@ -35,7 +35,7 @@ def checkServer():
address = '169.254.169.254'
port = 80
s.connect((address,port))
- except socket.error, 0:
+ except socket.error, e:
print "!!!! Unable to connect to %s" % address
sys.exit(0)