Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cloud-infrastructure
data-analytics
Commits
fc7e9a56
Commit
fc7e9a56
authored
May 02, 2021
by
Antonin Dvorak
Browse files
sqlite3 - remove the WITH statement for db conn
parents
29e78776
6d073c67
Changes
1
Hide whitespace changes
Inline
Side-by-side
adcern/sqlite3_backend.py
View file @
fc7e9a56
...
@@ -49,4 +49,4 @@ def modify_db(conn,
...
@@ -49,4 +49,4 @@ def modify_db(conn,
break
break
# max attempts achieved, quit
# max attempts achieved, quit
if
x
==
upperbound
-
1
:
if
x
==
upperbound
-
1
:
raise
Exception
(
"Sqlite3 - achieved max retries to commit with no success, giving up..."
)
raise
Exception
(
"Sqlite3 - achieved max retries to commit with no success, giving up..."
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment