aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-06-08 23:02:46 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-06-08 23:02:46 +0300
commit640a70c2b50db3dca3db9cd558dff6642dba8017 (patch)
tree6db84956e28116421c58968a05d07f2706f9d6b9 /gsxws
parentb68b389380a7b76ba96cbb2956abb7087f2be3e7 (diff)
downloadpy-gsxws-640a70c2b50db3dca3db9cd558dff6642dba8017.tar.gz
py-gsxws-640a70c2b50db3dca3db9cd558dff6642dba8017.tar.bz2
py-gsxws-640a70c2b50db3dca3db9cd558dff6642dba8017.zip
Set default sn and description
Diffstat (limited to 'gsxws')
-rw-r--r--gsxws/products.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gsxws/products.py b/gsxws/products.py
index c085aeb..4036bda 100644
--- a/gsxws/products.py
+++ b/gsxws/products.py
@@ -26,6 +26,9 @@ class Product(object):
"""
Something serviceable made by Apple
"""
+ sn = '' #serialNumber
+ description = '' #configDescription
+
def __init__(self, sn, **kwargs):
if validate(sn, 'alternateDeviceId'):
self.alternateDeviceId = sn