]> granicus.if.org Git - pgbouncer/commitdiff
Port mkauth.py to Python 3
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 27 Dec 2017 22:30:46 +0000 (17:30 -0500)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 12 Jan 2018 16:52:50 +0000 (11:52 -0500)
fixes #263

etc/mkauth.py

index 7cc9d8b941c0484d840cd4d924ce2e162c794a2c..45187d63dc5fd747a0a3025bb34fc8fd7d1b5e30 100755 (executable)
@@ -3,7 +3,7 @@
 import sys, os, tempfile, psycopg2
 
 if len(sys.argv) != 3:
-    print 'usage: mkauth DSTFN CONNSTR'
+    print('usage: mkauth DSTFN CONNSTR')
     sys.exit(1)
 
 # read old file