aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgsxws.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/gsxws.py b/gsxws.py
index ccac6d6..7f6ccf0 100755
--- a/gsxws.py
+++ b/gsxws.py
@@ -19,6 +19,7 @@ logging.getLogger('suds.client').setLevel(logging.DEBUG)
CLIENT = None
SESSION = dict()
LOCALE = 'en_XXX'
+
TIMEZONES = (
('GMT', 'Greenwich Mean Time'),
('PDT', 'Pacific Daylight Time'),
@@ -39,6 +40,21 @@ TIMEZONES = (
('NZST', 'New Zealand Standard Time'),
)
+REGIONS = (
+ ('002', 'Asia/Pacific'),
+ ('003', 'Japan'),
+ ('004', 'Europe'),
+ ('005', 'United States'),
+ ('006', 'Canadia'),
+ ('007', 'Latin America'),
+)
+
+ENVIRONMENTS = (
+ ('pr', 'Production'),
+ ('ut', 'Development'),
+ ('it', 'Testing'),
+)
+
def validate(value, what=None):
"""
Tries to guess the meaning of value or validate that