libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From il...@apache.org
Subject svn commit: r1411428 - /libcloud/trunk/libcloud/storage/drivers/nimbus.py
Date Mon, 19 Nov 2012 21:29:31 GMT
Author: ilgiz
Date: Mon Nov 19 21:29:30 2012
New Revision: 1411428

URL: http://svn.apache.org/viewvc?rev=1411428&view=rev
Log:
Fix syntax error in nimbus.io storage driver
nimbus.io website is corrected

Modified:
    libcloud/trunk/libcloud/storage/drivers/nimbus.py

Modified: libcloud/trunk/libcloud/storage/drivers/nimbus.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/drivers/nimbus.py?rev=1411428&r1=1411427&r2=1411428&view=diff
==============================================================================
--- libcloud/trunk/libcloud/storage/drivers/nimbus.py (original)
+++ libcloud/trunk/libcloud/storage/drivers/nimbus.py Mon Nov 19 21:29:30 2012
@@ -80,7 +80,7 @@ class NimbusConnection(ConnectionUserAnd
 
 class NimbusStorageDriver(StorageDriver):
     name = 'Nimbus'
-    website = 'http://www.nimbusproject.org/'
+    website = 'https://nimbus.io/'
     connectionCls = NimbusConnection
 
     def __init__(self, *args, **kwargs):
@@ -101,7 +101,8 @@ class NimbusStorageDriver(StorageDriver)
         return self._to_container(response.object)
 
     def _to_containers(self, data):
-        yield self._to_container(item) for item in data
+        for item in data:
+            yield self._to_container(item)
 
     def _to_container(self, data):
         name = data[0]



Mime
View raw message