groupdocs-python
Advanced tools
+10
-15
@@ -98,15 +98,13 @@ #!/usr/bin/env python | ||
| if method == 'GET': | ||
| if queryParams: | ||
| # Need to remove None values, these should not be sent | ||
| sentQueryParams = {} | ||
| for param, value in queryParams.items(): | ||
| if value != None: | ||
| sentQueryParams[param] = value | ||
| if sentQueryParams: | ||
| url = url + '?' + urllib.urlencode(sentQueryParams) | ||
| if queryParams: | ||
| # Need to remove None values, these should not be sent | ||
| sentQueryParams = {} | ||
| for param, value in queryParams.items(): | ||
| if value != None: | ||
| sentQueryParams[param] = value | ||
| if sentQueryParams: | ||
| url = url + '?' + urllib.urlencode(sentQueryParams) | ||
| if method in ['POST', 'PUT', 'DELETE']: | ||
| elif method in ['POST', 'PUT', 'DELETE']: | ||
| if isFileUpload: | ||
@@ -121,5 +119,2 @@ data = postData.inputStream | ||
| else: | ||
| raise Exception('Method ' + method + ' is not recognized.') | ||
| if self.__debug: | ||
@@ -319,2 +314,2 @@ handler = urllib2.HTTPSHandler(debuglevel=1) if url.lower().startswith('https') else urllib2.HTTPHandler(debuglevel=1) | ||
| super(Exception, self).__init__((code, ) + args) | ||
| self.code = code | ||
| self.code = code |
| __pkgname__ = "groupdocs-python" | ||
| __version__ = "1.2.3" | ||
| __version__ = "1.2.4" |
+1
-1
| Metadata-Version: 1.1 | ||
| Name: groupdocs-python | ||
| Version: 1.2.3 | ||
| Version: 1.2.4 | ||
| Summary: A Python interface to the GroupDocs API | ||
@@ -5,0 +5,0 @@ Home-page: http://groupdocs.com/ |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
989263
-0.02%20980
-0.02%