hgext/infinitepush/sqlindexapi.py
changeset 43117 8ff1ecfadcd1
parent 43105 649d3ac37a12
child 45942 89a2afe31e82
--- a/hgext/infinitepush/sqlindexapi.py	Tue Oct 08 15:15:37 2019 -0700
+++ b/hgext/infinitepush/sqlindexapi.py	Tue Oct 08 15:06:18 2019 -0700
@@ -70,7 +70,7 @@
             raise indexapi.indexexception(b"SQL connection already open")
         if self.sqlcursor:
             raise indexapi.indexexception(
-                b"SQL cursor already open without" b" connection"
+                b"SQL cursor already open without connection"
             )
         retry = 3
         while True:
@@ -126,7 +126,7 @@
             self.sqlconnect()
         self.log.info(b"ADD BUNDLE %r %r" % (self.reponame, bundleid))
         self.sqlcursor.execute(
-            b"INSERT INTO bundles(bundle, reponame) VALUES " b"(%s, %s)",
+            b"INSERT INTO bundles(bundle, reponame) VALUES (%s, %s)",
             params=(bundleid, self.reponame),
         )
         for ctx in nodesctx: