[library-web] python-sqlite2 is no more, sqlite is now part of the standard python libraries



commit cfb6ad12b3965ac1a09d3ccd5a687080ea0e9a9e
Author: Andrea Veri <averi redhat com>
Date:   Tue Feb 18 13:01:20 2020 +0100

    python-sqlite2 is no more, sqlite is now part of the standard python libraries

 src/app.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/app.py b/src/app.py
index b8ed218..53d2da2 100644
--- a/src/app.py
+++ b/src/app.py
@@ -26,11 +26,7 @@ import shutil
 import stat
 import subprocess
 import urllib2
-
-try:
-    from pysqlite2 import dbapi2 as sqlite
-except ImportError:
-    sqlite = None
+from sqlite3 import dbapi2 as sqlite
 
 try:
     import elementtree.ElementTree as ET


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