aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/products.py
diff options
context:
space:
mode:
Diffstat (limited to 'gsxws/products.py')
-rw-r--r--gsxws/products.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gsxws/products.py b/gsxws/products.py
index dc77dc2..0de6601 100644
--- a/gsxws/products.py
+++ b/gsxws/products.py
@@ -13,7 +13,7 @@ from core import GsxObject, GsxError
def models():
"""
>>> models() # doctest: +ELLIPSIS
- {'MAC_ACC': {'models': ['AirPort Card', ...
+ {'IPODCLASSIC': {'models': ['iPod 5th Generation (Late 2006)', ...
"""
import os
import yaml
@@ -58,6 +58,8 @@ class Product(GsxObject):
if not hasattr(self, "serialNumber"):
self.activation()
+ self.parts = []
+
try:
self.partNumbers = []
for k, v in parts: