diff options
author | Filipp Lepalaan <f@0x00.co> | 2013-01-10 09:30:09 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@0x00.co> | 2013-01-10 09:30:09 +0200 |
commit | 572cc5d53b6908dd4492f7ac1b9520494c03bc11 (patch) | |
tree | f3afa5ff294a2f1a713bd9639f4c687a4749557e | |
parent | 767ae35d218528768902a9b9d12ba93d3a17b687 (diff) | |
download | py-gsxws-572cc5d53b6908dd4492f7ac1b9520494c03bc11.tar.gz py-gsxws-572cc5d53b6908dd4492f7ac1b9520494c03bc11.tar.bz2 py-gsxws-572cc5d53b6908dd4492f7ac1b9520494c03bc11.zip |
looks_like() -> validate()
-rwxr-xr-x | gsx.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -12,9 +12,10 @@ logging.getLogger('suds.client').setLevel(logging.DEBUG) CLIENT = None SESSION = dict() # module-level variable -def looks_like(value, what=None): +def validate(value, what=None): """ - Tries to guess the meaning of value + Tries to guess the meaning of value or validate that + value looks like what it's supposed to be. """ result = None |