[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] Modify blends_prospective_gatherer.py: Enables update of references in bibref table depending on VCS entry also



From: Akshita Jha <akshita-guest@users.alioth.debian.org>

---
 udd/blends_prospective_gatherer.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/udd/blends_prospective_gatherer.py b/udd/blends_prospective_gatherer.py
index f8cb64a..a1f5098 100644
--- a/udd/blends_prospective_gatherer.py
+++ b/udd/blends_prospective_gatherer.py
@@ -416,7 +416,7 @@ class blends_prospective_gatherer(gatherer):
     cur.execute("DEALLOCATE package_insert")
     
     # Inserting references should be save because above we are testing for existant table entries
-    query = """PREPARE bibref_insert (text, text, text, text, int) AS INSERT INTO bibref
+    query = """PREPARE bibref_insert (text, text, text, text, int) AS REPLACE INTO bibref
                    (source, key, value, package, rank)
                     VALUES ($1, $2, $3, $4, $5)"""
     cur.execute(query)
-- 
2.1.4


Reply to: