From c1ce54094ba86c83144c71213ade32846e2db876 Mon Sep 17 00:00:00 2001
From: Helmut Grohne <helmut@subdivi.de>
Date: Sat, 20 Jul 2013 14:11:45 +0200
Subject: another missing sqlalchemy.text wrapper

---
 update_sharing.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'update_sharing.py')

diff --git a/update_sharing.py b/update_sharing.py
index f8300f6..1e1e06a 100755
--- a/update_sharing.py
+++ b/update_sharing.py
@@ -53,7 +53,7 @@ def main():
             pkgdict = compute_pkgdict(rows)
             for row in rows:
                 cid = row[1]
-                already = conn.scalar("SELECT cid FROM duplicate WHERE cid = :cid;",
+                already = conn.scalar(sqlalchemy.text("SELECT cid FROM duplicate WHERE cid = :cid;"),
                                       cid=cid)
                 if not already:
                     conn.execute(sqlalchemy.text("INSERT INTO duplicate (cid) VALUES (:cid);"),
-- 
cgit v1.2.3