Skip to content

Commit 30b10b6

Browse files
committed
Fix regression in Python 2.6 support
1 parent fb1c680 commit 30b10b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgres.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class NotOne(Exception):
192192
def __init__(self, rowcount):
193193
self.rowcount = rowcount
194194
def __str__(self):
195-
return "Got {} rows instead of 1.".format(self.rowcount)
195+
return "Got {0} rows instead of 1.".format(self.rowcount)
196196

197197
class TooFew(NotOne): pass
198198
class TooMany(NotOne): pass

0 commit comments

Comments
 (0)