sregistry/main/swift/__init__.py
def get_collections(self):
        '''get a listing of collections that the user has access to.
        '''
        collections = []
        for container in self.conn.get_account()[1]:
            collections.append(container['name'])
        return collections
def get_collections(self):
        '''get a listing of collections that the user has access to.
        '''
        collections = []
        for container in self.conn.get_account()[1]:
            collections.append(container['name'])
        return collections
def get_collections ( self ) : collections = [ ] for container in self . conn . get_account ( ) [ 1 ] : collections . append ( container [ 'name' ] ) return collections
get a listing of collections that the user has access to.
get a listing of collections that the user has access to .