From 1a1ec7bfa29c56746aac6e637a8a63f222a81c36 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 26 Aug 2005 12:14:08 +0000 Subject: [PATCH] typo --- src/common/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/helpers.py b/src/common/helpers.py index 46dfd65ec..d1efb78d7 100644 --- a/src/common/helpers.py +++ b/src/common/helpers.py @@ -309,7 +309,7 @@ def from_xs_boolean_to_python_boolean(value): def ensure_unicode_string(s): # py23 u'abc'.decode('utf-8') raises # python24 does not. is python23 is ooold we can remove this func - if isistance(s, str): + if isinstance(s, str): s = s.decode('utf-8') return s