diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-01-25 00:36:44 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-01-25 00:36:44 -0500 |
commit | 608d00c061eec2efdbd903692d38baeab6cfd320 (patch) | |
tree | 0449a7a38fceed93ec6e0884c26cfabb1b7e7a2f | |
parent | fb2d4770fb3c5ba16c01ebb64a66e7ef988ffa42 (diff) | |
download | vyos-cloud-init-608d00c061eec2efdbd903692d38baeab6cfd320.tar.gz vyos-cloud-init-608d00c061eec2efdbd903692d38baeab6cfd320.zip |
fix bad variable name in readurl
-rw-r--r-- | cloudinit/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py index 8ec80e09..e958fc02 100644 --- a/cloudinit/util.py +++ b/cloudinit/util.py @@ -329,7 +329,7 @@ def readurl(url, data=None): if data is None: req = urllib2.Request(url) else: - encoded = urllib.urlencode(values) + encoded = urllib.urlencode(data) req = urllib2.Request(url, encoded) response = urllib2.urlopen(req) |