From db1bf1ed7e4681dd70f6ad646abb0bd3b3773207 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 23 May 2013 09:59:07 +0300 Subject: Remove "true"/"false" check --- gsxws/core.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gsxws') diff --git a/gsxws/core.py b/gsxws/core.py index 97bf717..f586606 100644 --- a/gsxws/core.py +++ b/gsxws/core.py @@ -398,10 +398,6 @@ class GsxObject(object): if re.search(r'^[YN]$', v): v = (v == "Y") - # convert true/false to boolean - if re.search(r'^(true)|(false)$', v): - v = (v == "true") - # strip currency prefix and munge into float if re.search(r'Price$', k): v = float(re.sub(r'[A-Z ,]', '', v)) -- cgit v1.2.3