From 608d00c061eec2efdbd903692d38baeab6cfd320 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Tue, 25 Jan 2011 00:36:44 -0500 Subject: fix bad variable name in readurl --- cloudinit/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit/util.py') 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) -- cgit v1.2.3