libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject svn commit: r1052726 - /incubator/libcloud/trunk/libcloud/drivers/cloudsigma.py
Date Fri, 24 Dec 2010 22:37:26 GMT
Author: jerry
Date: Fri Dec 24 22:37:26 2010
New Revision: 1052726

URL: http://svn.apache.org/viewvc?rev=1052726&view=rev
Log:
Remove unused MalformedResponseError, json import from CloudSigma

Modified:
    incubator/libcloud/trunk/libcloud/drivers/cloudsigma.py

Modified: incubator/libcloud/trunk/libcloud/drivers/cloudsigma.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/cloudsigma.py?rev=1052726&r1=1052725&r2=1052726&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/cloudsigma.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/cloudsigma.py Fri Dec 24 22:37:26 2010
@@ -20,18 +20,11 @@ import re
 import time
 import base64
 
-from libcloud.types import Provider, NodeState, InvalidCredsError, MalformedResponseError
+from libcloud.types import Provider, NodeState, InvalidCredsError
 from libcloud.base import ConnectionUserAndKey, Response
 from libcloud.base import NodeDriver, NodeSize, Node
 from libcloud.base import NodeImage
 
-# JSON is included in the standard library starting with Python 2.6.  For 2.5
-# and 2.4, there's a simplejson egg at: http://pypi.python.org/pypi/simplejson
-try:
-    import json
-except:
-    import simplejson as json
-
 # API end-points
 API_ENDPOINTS = {
     'zrh': {



Mime
View raw message