From 24b6cb89d443384cb432f01265c45bc18d9cf2fc Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 22 Jan 2009 15:41:54 -0700 Subject: Further migration toward new xmlrcp code; fixed problem with unicode Fault.faultString; fixed problem where ServerProxy method was not called correctly --- ipalib/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/base.py') diff --git a/ipalib/base.py b/ipalib/base.py index bff8f195..e0951e41 100644 --- a/ipalib/base.py +++ b/ipalib/base.py @@ -455,7 +455,7 @@ class NameSpace(ReadOnly): :param key: The name or index of a member, or a slice object. """ - if type(key) is str: + if isinstance(key, basestring): return self.__map[key] if type(key) in (int, slice): return self.__members[key] -- cgit