AlchemyBackend do db insert or replace in policy_set and attribute_copy
[pithos] / pithos / backends / lib_alchemy / node.py
index 6e7c887..7bd5210 100644 (file)
@@ -654,6 +654,7 @@ class Node(DBWorker):
         attributes = rp.fetchall()
         rp.close()
         for dest, k, v in attributes:
+            #insert or replace
             s = self.attributes.update().where(and_(
                 self.attributes.c.serial == dest,
                 self.attributes.c.key == k))