From 3699582e035ec08108b65ecda0bf043e4d56260f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 9 May 2007 17:38:24 +0000 Subject: Fix trivial bug in idna encoding. --- Lib/encodings/idna.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/encodings/idna.py b/Lib/encodings/idna.py index d9322a1..b226d22 100644 --- a/Lib/encodings/idna.py +++ b/Lib/encodings/idna.py @@ -8,7 +8,6 @@ dots = re.compile("[\u002E\u3002\uFF0E\uFF61]") # IDNA section 5 ace_prefix = "xn--" -uace_prefix = str(ace_prefix, "ascii") # This assumes query strings, so AllowUnassigned is true def nameprep(label): -- cgit v0.12