From 3fa29f7cd77970df2d85db3e7565cf0ad2548883 Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Sun, 30 Oct 2011 20:18:50 +0100 Subject: Closes #13291: NameError in xmlrpc package. --- Lib/xmlrpc/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/xmlrpc/client.py') diff --git a/Lib/xmlrpc/client.py b/Lib/xmlrpc/client.py index 19d4d6986f..9312344b47 100644 --- a/Lib/xmlrpc/client.py +++ b/Lib/xmlrpc/client.py @@ -302,7 +302,7 @@ class DateTime: elif datetime and isinstance(other, datetime.datetime): s = self.value o = other.strftime("%Y%m%dT%H:%M:%S") - elif isinstance(other, (str, unicode)): + elif isinstance(other, str): s = self.value o = other elif hasattr(other, "timetuple"): -- cgit v1.2.1