projects
/
pgcommitfest2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab4a93c
)
Fix mail sender for py3
author
Magnus Hagander
<magnus@hagander.net>
Wed, 6 Feb 2019 19:25:40 +0000
(20:25 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Wed, 6 Feb 2019 19:25:40 +0000
(20:25 +0100)
tools/mail/send_queued_mail.py
patch
|
blob
|
blame
|
history
diff --git
a/tools/mail/send_queued_mail.py
b/tools/mail/send_queued_mail.py
index d500f049225dd274264849e91fae9e009dc9f984..97577595259bcc126e05cf4285a7f7f8b00d6432 100755
(executable)
--- a/
tools/mail/send_queued_mail.py
+++ b/
tools/mail/send_queued_mail.py
@@
-29,7
+29,7
@@
if __name__ == "__main__":
curs = connection.cursor()
curs.execute("SELECT pg_try_advisory_lock(72181379)")
if not curs.fetchall()[0][0]:
- print
"Failed to get advisory lock, existing send_queued_mail process stuck?"
+ print
("Failed to get advisory lock, existing send_queued_mail process stuck?")
connection.close()
sys.exit(1)