diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-12-03 18:47:19 -0800 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2017-12-10 10:51:07 -0800 |
commit | 9de46e416e5ac1be1c5ff170d1c1ada5b8d7278f (patch) | |
tree | 62291426bc36f26ed5ac65d597ed15a5654a4e22 /sandbox/crash.py | |
parent | ef64493b8913e4069c4422ad14da6de405c445f6 (diff) | |
download | psycopg2-9de46e416e5ac1be1c5ff170d1c1ada5b8d7278f.tar.gz |
Use print() function instead of print statement throughout project
Forward compatible with newer Pythons.
Diffstat (limited to 'sandbox/crash.py')
-rw-r--r-- | sandbox/crash.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/crash.py b/sandbox/crash.py index 23f354c..851fa7e 100644 --- a/sandbox/crash.py +++ b/sandbox/crash.py @@ -17,7 +17,7 @@ def query_worker(dsn): break if len(sys.argv) != 2: - print 'usage: %s DSN' % sys.argv[0] + print('usage: %s DSN' % sys.argv[0]) sys.exit(1) th = threading.Thread(target=query_worker, args=(sys.argv[1],)) th.setDaemon(True) |