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

b/snf-pithos-backend/pithos/backends/lib/sqlalchemy/xfeatures.py
128 128

  
129 129
    def xfeature_destroy_bulk(self, paths):
130 130
        """Destroy features and all their key, value pairs."""
131

  
131
        
132
        if not paths:
133
            return
132 134
        s = self.xfeatures.delete().where(self.xfeatures.c.path.in_(paths))
133 135
        r = self.conn.execute(s)
134 136
        r.close()

Also available in: Unified diff