From 0258e90ef069161de5f6b2d02fa26f031d9674fc Mon Sep 17 00:00:00 2001 From: Erwin de Keijzer Date: Mon, 24 Mar 2014 18:36:33 +0100 Subject: [PATCH] Fixed DNS typo in examples --- examples/binary.py | 2 +- examples/copy_from.py | 2 +- examples/copy_to.py | 2 +- examples/dt.py | 2 +- examples/encoding.py | 2 +- examples/fetch.py | 2 +- examples/lastrowid.py | 2 +- examples/lobject.py | 2 +- examples/mogrify.py | 2 +- examples/notify.py | 2 +- examples/simple.py | 2 +- examples/threads.py | 2 +- examples/typecast.py | 2 +- examples/tz.py | 2 +- examples/usercast.py | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/examples/binary.py b/examples/binary.py index 8f96d588..3ba1ff89 100644 --- a/examples/binary.py +++ b/examples/binary.py @@ -24,7 +24,7 @@ import psycopg2 if len(sys.argv) > 1: DSN = sys.argv[1] -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) print "Encoding for this connection is", conn.encoding diff --git a/examples/copy_from.py b/examples/copy_from.py index 861dfdb8..0c794a14 100644 --- a/examples/copy_from.py +++ b/examples/copy_from.py @@ -27,7 +27,7 @@ import psycopg2 if len(sys.argv) > 1: DSN = sys.argv[1] -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) print "Encoding for this connection is", conn.encoding diff --git a/examples/copy_to.py b/examples/copy_to.py index ec647945..99d6c6d1 100644 --- a/examples/copy_to.py +++ b/examples/copy_to.py @@ -27,7 +27,7 @@ import psycopg2 if len(sys.argv) > 1: DSN = sys.argv[1] -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) print "Encoding for this connection is", conn.encoding diff --git a/examples/dt.py b/examples/dt.py index c876590a..4c2a9a0b 100644 --- a/examples/dt.py +++ b/examples/dt.py @@ -28,7 +28,7 @@ from psycopg2.extensions import adapt if len(sys.argv) > 1: DSN = sys.argv[1] -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) curs = conn.cursor() diff --git a/examples/encoding.py b/examples/encoding.py index 8a374155..c702b054 100644 --- a/examples/encoding.py +++ b/examples/encoding.py @@ -26,7 +26,7 @@ import psycopg2.extensions if len(sys.argv) > 1: DSN = sys.argv[1] -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) print "Initial encoding for this connection is", conn.encoding diff --git a/examples/fetch.py b/examples/fetch.py index b47ed3f1..096a47e7 100644 --- a/examples/fetch.py +++ b/examples/fetch.py @@ -24,7 +24,7 @@ import psycopg2 if len(sys.argv) > 1: DSN = sys.argv[1] -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) print "Encoding for this connection is", conn.encoding diff --git a/examples/lastrowid.py b/examples/lastrowid.py index 12c9174c..ea5a3b66 100644 --- a/examples/lastrowid.py +++ b/examples/lastrowid.py @@ -23,7 +23,7 @@ import sys, psycopg2 if len(sys.argv) > 1: DSN = sys.argv[1] -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) curs = conn.cursor() diff --git a/examples/lobject.py b/examples/lobject.py index e14384ac..adc26ba4 100644 --- a/examples/lobject.py +++ b/examples/lobject.py @@ -24,7 +24,7 @@ import psycopg2 if len(sys.argv) > 1: DSN = sys.argv[1] -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) print "Encoding for this connection is", conn.encoding diff --git a/examples/mogrify.py b/examples/mogrify.py index b1db641c..3229fe7f 100644 --- a/examples/mogrify.py +++ b/examples/mogrify.py @@ -24,7 +24,7 @@ import sys, psycopg2 if len(sys.argv) > 1: DSN = sys.argv[1] -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) print "Encoding for this connection is", conn.encoding diff --git a/examples/notify.py b/examples/notify.py index 9b9a2d79..ca0dcd28 100644 --- a/examples/notify.py +++ b/examples/notify.py @@ -26,7 +26,7 @@ from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT if len(sys.argv) > 1: DSN = sys.argv[1] -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) print "Encoding for this connection is", conn.encoding diff --git a/examples/simple.py b/examples/simple.py index 73349153..339419e3 100644 --- a/examples/simple.py +++ b/examples/simple.py @@ -30,7 +30,7 @@ import psycopg2 if len(sys.argv) > 1: DSN = sys.argv[1] -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) print "Encoding for this connection is", conn.encoding diff --git a/examples/threads.py b/examples/threads.py index 3f2c05fd..d73730ce 100644 --- a/examples/threads.py +++ b/examples/threads.py @@ -45,7 +45,7 @@ if len(sys.argv) > 1: if len(sys.argv) > 2: MODE = int(sys.argv[2]) -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) curs = conn.cursor() diff --git a/examples/typecast.py b/examples/typecast.py index 7b981cf0..0df883e7 100644 --- a/examples/typecast.py +++ b/examples/typecast.py @@ -29,7 +29,7 @@ import psycopg2.extensions if len(sys.argv) > 1: DSN = sys.argv[1] -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) print "Encoding for this connection is", conn.encoding diff --git a/examples/tz.py b/examples/tz.py index 8d4ac5f6..9a484f1e 100644 --- a/examples/tz.py +++ b/examples/tz.py @@ -28,7 +28,7 @@ from psycopg2.tz import ZERO, LOCAL, FixedOffsetTimezone if len(sys.argv) > 1: DSN = sys.argv[1] -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) curs = conn.cursor() diff --git a/examples/usercast.py b/examples/usercast.py index a0210f77..87c2eea4 100644 --- a/examples/usercast.py +++ b/examples/usercast.py @@ -33,7 +33,7 @@ import psycopg2.extras if len(sys.argv) > 1: DSN = sys.argv[1] -print "Opening connection using dns:", DSN +print "Opening connection using dsn:", DSN conn = psycopg2.connect(DSN) print "Initial encoding for this connection is", conn.encoding