aboutsummaryrefslogtreecommitdiffstats
path: root/examples/sql/books/createdb.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-07-29 09:17:13 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-07-29 09:18:19 +0200
commitf563bf430aeadc7b15433b28bf848fa0c68ba394 (patch)
treebcb88730abd4716c5d44d88ba051215658571594 /examples/sql/books/createdb.py
parent3cc4de133f74554ddc50296385ac0ec7fd98c6d6 (diff)
parentdc73e75c1802df9e7594097ca65327b937097b3f (diff)
Merge remote-tracking branch 'origin/5.13' into 5.14
Diffstat (limited to 'examples/sql/books/createdb.py')
-rw-r--r--examples/sql/books/createdb.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/sql/books/createdb.py b/examples/sql/books/createdb.py
index 1ca52470f..d03060ad5 100644
--- a/examples/sql/books/createdb.py
+++ b/examples/sql/books/createdb.py
@@ -101,10 +101,10 @@ def init_db():
check(db.open)
q = QSqlQuery()
- check(q.exec_,BOOKS_SQL)
- check(q.exec_,AUTHORS_SQL)
- check(q.exec_,GENRES_SQL)
- check(q.prepare,INSERT_AUTHOR_SQL)
+ check(q.exec_, BOOKS_SQL)
+ check(q.exec_, AUTHORS_SQL)
+ check(q.exec_, GENRES_SQL)
+ check(q.prepare, INSERT_AUTHOR_SQL)
asimovId = add_author(q, "Isaac Asimov", datetime(1920, 2, 1))
greeneId = add_author(q, "Graham Greene", datetime(1904, 10, 2))