From bf46f9f6ee5ae62b27cfdaaa362cd4004379af55 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 22 May 2013 12:00:20 +0300 Subject: Remove class variables from GsxSession --- gsxws/core.py | 10 ++-------- 1 file 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) -- cgit v1.2.3