aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/core.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-08-16 23:18:41 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-08-16 23:18:41 +0300
commit67b970b86dd259e5fed2846fc30d8bb29648adfe (patch)
tree9cd2693b1414e5a529e0b5687d9f739759fd5328 /gsxws/core.py
parentca518df1ac4c08a8d352871fc9aa207443fc5fab (diff)
downloadpy-gsxws-67b970b86dd259e5fed2846fc30d8bb29648adfe.tar.gz
py-gsxws-67b970b86dd259e5fed2846fc30d8bb29648adfe.tar.bz2
py-gsxws-67b970b86dd259e5fed2846fc30d8bb29648adfe.zip
Unset alternateDeviceId in warranty()
Diffstat (limited to 'gsxws/core.py')
-rw-r--r--gsxws/core.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gsxws/core.py b/gsxws/core.py
index 086df10..afb1521 100644
--- a/gsxws/core.py
+++ b/gsxws/core.py
@@ -400,6 +400,9 @@ class GsxObject(object):
except KeyError:
raise AttributeError("Invalid attribute: %s" % name)
+ def unset(self, prop):
+ del(self._data[prop])
+
def _submit(self, arg, method, ret=None, raw=False):
"Shortcut for submitting a GsxObject"
self._req = GsxRequest(**{arg: self})