From 1e991ee4f179cdb379ee46e893b2c05957379441 Mon Sep 17 00:00:00 2001 From: khamidou Date: Wed, 3 Mar 2010 10:09:30 +0100 Subject: [PATCH] damn proxy won't let me test it locally --- libliszt/utils.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libliszt/utils.py b/libliszt/utils.py index c4889ea..7368165 100644 --- a/libliszt/utils.py +++ b/libliszt/utils.py @@ -180,16 +180,12 @@ class LisztSession: continue def create_list(self, listname): - listname = unicode(listname) try: urllib2.urlopen(base + "/create/" + quote(listname.encode("utf8")) + "/") except HTTPError: bailout("Unable to create the list " + listname) def create_list_entry(self, listname, entry): - listname = listname.encode("utf8") - entry = entry.encode("utf8") - try: urllib2.urlopen(base + "/create/" + quote(listname) + "/" + quote(entry) + "/") except HTTPError: @@ -204,7 +200,6 @@ class LisztSession: return json.load(req) def get_list(self, listname): - listname = listname.encode("utf8") req = None try: -- 2.43.0