Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mercurial
evolve
Commits
e1dc374909bd
Commit
e1dc3749
authored
Aug 06, 2019
by
Raphaël Gomès
Browse files
python3: add raw prefix to sqlite isolation level
parent
03690f8d2b0a
Changes
2
Hide whitespace changes
Inline
Side-by-side
hgext3rd/evolve/obsdiscovery.py
View file @
e1dc3749
...
...
@@ -495,7 +495,7 @@
except
OSError
:
return
None
con
=
sqlite3
.
connect
(
encoding
.
strfromlocal
(
self
.
_path
),
timeout
=
30
,
isolation_level
=
"IMMEDIATE"
)
isolation_level
=
r
"IMMEDIATE"
)
con
.
text_factory
=
bytes
return
con
...
...
hgext3rd/evolve/stablerangecache.py
View file @
e1dc3749
...
...
@@ -240,7 +240,7 @@
except
OSError
:
return
None
con
=
sqlite3
.
connect
(
encoding
.
strfromlocal
(
self
.
_path
),
timeout
=
30
,
isolation_level
=
"IMMEDIATE"
)
isolation_level
=
r
"IMMEDIATE"
)
con
.
text_factory
=
bytes
return
con
...
...
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