Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
data-analytics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cloud-infrastructure
data-analytics
Commits
fc7e9a56
Commit
fc7e9a56
authored
4 years ago
by
Antonin Dvorak
Browse files
Options
Downloads
Plain Diff
sqlite3 - remove the WITH statement for db conn
parents
29e78776
6d073c67
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
adcern/sqlite3_backend.py
+1
-1
1 addition, 1 deletion
adcern/sqlite3_backend.py
with
1 addition
and
1 deletion
adcern/sqlite3_backend.py
+
1
−
1
View file @
fc7e9a56
...
...
@@ -49,4 +49,4 @@ def modify_db(conn,
break
# max attempts achieved, quit
if
x
==
upperbound
-
1
:
raise
Exception
(
"
Sqlite3 - achieved max retries to commit with no success, giving up...
"
)
\ No newline at end of file
raise
Exception
(
"
Sqlite3 - achieved max retries to commit with no success, giving up...
"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment