diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-06-08 23:02:46 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-06-08 23:02:46 +0300 |
commit | 640a70c2b50db3dca3db9cd558dff6642dba8017 (patch) | |
tree | 6db84956e28116421c58968a05d07f2706f9d6b9 /gsxws/products.py | |
parent | b68b389380a7b76ba96cbb2956abb7087f2be3e7 (diff) | |
download | py-gsxws-640a70c2b50db3dca3db9cd558dff6642dba8017.tar.gz py-gsxws-640a70c2b50db3dca3db9cd558dff6642dba8017.tar.bz2 py-gsxws-640a70c2b50db3dca3db9cd558dff6642dba8017.zip |
Set default sn and description
Diffstat (limited to 'gsxws/products.py')
-rw-r--r-- | gsxws/products.py | 3 |
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 |