aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/core.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-05-22 12:00:20 +0300
committerFilipp Lepalaan <f@230.to>2013-05-22 12:00:20 +0300
commitbf46f9f6ee5ae62b27cfdaaa362cd4004379af55 (patch)
tree41f4dfcdfe19d281cec4f55958784f41b06241e3 /gsxws/core.py
parent172de3fae935e31f0aec613c17fd1e97593de5e0 (diff)
downloadpy-gsxws-bf46f9f6ee5ae62b27cfdaaa362cd4004379af55.tar.gz
py-gsxws-bf46f9f6ee5ae62b27cfdaaa362cd4004379af55.tar.bz2
py-gsxws-bf46f9f6ee5ae62b27cfdaaa362cd4004379af55.zip
Remove class variables from GsxSession
Diffstat (limited to 'gsxws/core.py')
-rw-r--r--gsxws/core.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/gsxws/core.py b/gsxws/core.py
index da82314..cb8f49d 100644
--- a/gsxws/core.py
+++ b/gsxws/core.py
@@ -436,15 +436,7 @@ class GsxRequestObject(GsxObject):
class GsxSession(GsxObject):
- userId = ""
- password = ""
- languageCode = ""
- userTimeZone = ""
- serviceAccountNo = ""
-
_cache = None
- _cache_key = ""
- _session_id = ""
_namespace = "glob:"
def __init__(self, user_id, password, sold_to, language, timezone):
@@ -456,6 +448,8 @@ class GsxSession(GsxObject):
self.userTimeZone = timezone
self.serviceAccountNo = str(sold_to)
+ self._session_id = ""
+
md5 = hashlib.md5()
md5.update(user_id + self.serviceAccountNo + GSX_ENV)