8000 fixed some typos · wulczer/txpostgres@50a36c4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 50a36c4

Browse files
committed
fixed some typos
1 parent d236d3b commit 50a36c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

txpostgres/reconnection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def startReconnecting(self, f):
161161
d = rc.start(self.reconnectionIterator())
162162
d.addCallback(lambda _: self.connectionRecovered())
163163
# the reconnection should never fail (it doesn't with the default
164-
# iterator), but buggy recovery handlers and custom iterators migh
164+
# iterator), but buggy recovery handlers and custom iterators might
165165
# cause that, so just log the error and swallow it
166166
d.addErrback(log.err)
167167

txpostgres/txpostgres.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def runInteraction(self, interaction, *args, **kwargs):
566566
:exc:`~txpostgres.txpostgres.RollbackFailed` failure will be
567567
returned. The returned failure will contain references to the original
568568
failure that caused the transaction to be rolled back and to the
569-
:class:`~txpostgres.txpostgres.Connection` in which that happend, so
569+
:class:`~txpostgres.txpostgres.Connection` in which that happened, so
570570
the user can take a decision whether she still wants to be using it or
571571
just close it, because an open transaction might have been left open in
572572
the database.
@@ -635,7 +635,7 @@ def cancel(self, d):
635635
Cancel the current operation. The cancellation does not happen
636636
immediately, because the PostgreSQL protocol requires that the
637637
application waits for confirmation after the query has been cancelled.
638-
Be carefil when cancelling an interaction, because if the interaction
638+
Be careful when cancelling an interaction, because if the interaction
639639
includes sending multiple queries to the database server, you can't
640640
really be sure which one are you cancelling.
641641

0 commit comments

Comments
 (0)
0