diff options
author | Filipp Lepalaan <f@230.to> | 2013-03-13 15:33:33 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-03-13 15:33:33 +0200 |
commit | 7e235c69c2625563a5bed055d71f5c85b3fea64e (patch) | |
tree | 6c8e781c434a51557afd7e250986b5bc4007e08b | |
parent | 20ea91479d2fffb96192f0159e737ad3030b39e6 (diff) | |
download | py-gsxws-7e235c69c2625563a5bed055d71f5c85b3fea64e.tar.gz py-gsxws-7e235c69c2625563a5bed055d71f5c85b3fea64e.tar.bz2 py-gsxws-7e235c69c2625563a5bed055d71f5c85b3fea64e.zip |
Added environments and regions lists
-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 |