# HG changeset patch # User Raphaël Gomès # Date 1565084109 -7200 # Node ID e1dc374909bda55770f1526d632c9ccbfa536cbe # Parent 03690f8d2b0ab84f8589562b46f6f6ddb84ef572 python3: add raw prefix to sqlite isolation level diff -r 03690f8d2b0a -r e1dc374909bd hgext3rd/evolve/obsdiscovery.py --- a/hgext3rd/evolve/obsdiscovery.py Tue Aug 06 11:34:31 2019 +0200 +++ b/hgext3rd/evolve/obsdiscovery.py Tue Aug 06 11:35:09 2019 +0200 @@ -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 diff -r 03690f8d2b0a -r e1dc374909bd hgext3rd/evolve/stablerangecache.py --- a/hgext3rd/evolve/stablerangecache.py Tue Aug 06 11:34:31 2019 +0200 +++ b/hgext3rd/evolve/stablerangecache.py Tue Aug 06 11:35:09 2019 +0200 @@ -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