aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@0x00.co>2013-04-03 11:32:09 +0300
committerFilipp Lepalaan <f@0x00.co>2013-04-03 11:32:09 +0300
commit9affd074486b45ee7c0c01e452d623f7b33d63d4 (patch)
treed87dcd62df04dd5ce9904706d85fd66c1d63f912
parent7bfb67ae53795cd820f7df8ba9ca1a134377bb1a (diff)
downloadpy-gsxws-9affd074486b45ee7c0c01e452d623f7b33d63d4.tar.gz
py-gsxws-9affd074486b45ee7c0c01e452d623f7b33d63d4.tar.bz2
py-gsxws-9affd074486b45ee7c0c01e452d623f7b33d63d4.zip
Fixing fetching Part image
-rwxr-xr-xgsxws.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxws.py b/gsxws.py
index b642032..b36c676 100755
--- a/gsxws.py
+++ b/gsxws.py
@@ -584,7 +584,7 @@ class Part(GsxObject):
result = urllib.urlretrieve(url, tmpfile.name)
return result[0]
except Exception, e:
- GsxError('Failed to fetch part image')
+ raise GsxError('Failed to fetch part image: %s' % e)
class Escalation(GsxObject):
def create(self):