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 /sandbox/iter.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 'sandbox/iter.py')
-rw-r--r-- | sandbox/iter.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sandbox/iter.py b/sandbox/iter.py index 74c8aba..bf245ba 100644 --- a/sandbox/iter.py +++ b/sandbox/iter.py @@ -7,8 +7,7 @@ curs = conn.cursor(cursor_factory=psycopg2.extras.DictCursor) curs.execute("SELECT '2005-2-12'::date AS foo, 'boo!' as bar") for x in curs.fetchall(): print type(x), x[0], x[1], x['foo'], x['bar'] - + curs.execute("SELECT '2005-2-12'::date AS foo, 'boo!' as bar") for x in curs: print type(x), x[0], x[1], x['foo'], x['bar'] - |