aboutsummaryrefslogtreecommitdiffstats
path: root/gsx.py
diff options
context:
space:
mode:
Diffstat (limited to 'gsx.py')
-rwxr-xr-xgsx.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gsx.py b/gsx.py
index 9654da3..2f42fcc 100755
--- a/gsx.py
+++ b/gsx.py
@@ -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