diff options
author | Filipp Lepalaan <f@230.to> | 2013-05-23 09:59:07 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-05-23 09:59:07 +0300 |
commit | db1bf1ed7e4681dd70f6ad646abb0bd3b3773207 (patch) | |
tree | c3b7ddf3c157a392fd717b0d7b286d45ce6f98fe /gsxws | |
parent | 3b949a256d96283e2efeb8d62f9400dd383e8456 (diff) | |
download | py-gsxws-db1bf1ed7e4681dd70f6ad646abb0bd3b3773207.tar.gz py-gsxws-db1bf1ed7e4681dd70f6ad646abb0bd3b3773207.tar.bz2 py-gsxws-db1bf1ed7e4681dd70f6ad646abb0bd3b3773207.zip |
Remove "true"/"false" check
Diffstat (limited to 'gsxws')
-rw-r--r-- | gsxws/core.py | 4 |
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)) |