aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/core.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-05-23 09:59:07 +0300
committerFilipp Lepalaan <f@230.to>2013-05-23 09:59:07 +0300
commitdb1bf1ed7e4681dd70f6ad646abb0bd3b3773207 (patch)
treec3b7ddf3c157a392fd717b0d7b286d45ce6f98fe /gsxws/core.py
parent3b949a256d96283e2efeb8d62f9400dd383e8456 (diff)
downloadpy-gsxws-db1bf1ed7e4681dd70f6ad646abb0bd3b3773207.tar.gz
py-gsxws-db1bf1ed7e4681dd70f6ad646abb0bd3b3773207.tar.bz2
py-gsxws-db1bf1ed7e4681dd70f6ad646abb0bd3b3773207.zip
Remove "true"/"false" check
Diffstat (limited to 'gsxws/core.py')
-rw-r--r--gsxws/core.py4
1 files changed, 0 insertions, 4 deletions
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))