diff options
Diffstat (limited to 'gsxws.py')
-rwxr-xr-x | gsxws.py | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 |