diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-12-01 21:37:49 -0800 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2017-12-01 21:42:14 -0800 |
commit | e335d6d2234a7bb1d83741f851dba5dbbabd6e3c (patch) | |
tree | be5545f9f2c20bc41b500d4aac462fd40c0ea8d8 /examples/cursor.py | |
parent | a51160317c680662c52e4a1a6b4d11beae37f205 (diff) | |
download | psycopg2-e335d6d2234a7bb1d83741f851dba5dbbabd6e3c.tar.gz |
Trim trailing whitespace from all files throughout project
Many editors automatically trim whitespace on save. By trimming all
files in one go, makes future diffs cleaner without extraneous
whitespace changes.
Diffstat (limited to 'examples/cursor.py')
-rw-r--r-- | examples/cursor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cursor.py b/examples/cursor.py index 465967c..58c8cf6 100644 --- a/examples/cursor.py +++ b/examples/cursor.py @@ -49,7 +49,7 @@ class Cursor(psycopg2.extensions.cursor): if d is None: raise NoDataError("no more data") return d - + curs = conn.cursor(cursor_factory=Cursor) curs.execute("SELECT 1 AS foo") print("Result of fetchone():", curs.fetchone()) |