Revision 8221c89d snf-pithos-backend/pithos/backends/lib/sqlalchemy/xfeatures.py

b/snf-pithos-backend/pithos/backends/lib/sqlalchemy/xfeatures.py
113 113
        r = self.conn.execute(s)
114 114
        r.close()
115 115
    
116
    def xfeature_destroy_bulk(self, paths):
117
        """Destroy features and all their key, value pairs."""
118
        
119
        s = self.xfeatures.delete().where(self.xfeatures.c.path.in_(paths))
120
        r = self.conn.execute(s)
121
        r.close()
122
    
116 123
    def feature_dict(self, feature):
117 124
        """Return a dict mapping keys to list of values for feature."""
118 125
        

Also available in: Unified diff