]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Use an empty string instead on None in the copy work queue
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 22 Nov 2021 01:23:36 +0000 (02:23 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 22 Nov 2021 01:33:24 +0000 (02:33 +0100)
commit264475a64c2284e3f125d330ead39de960399431
treed3cf9cdad9a361f880c50ff256b45a7ce45e9155
parentdd88cce60c44d4f64d8107b48e28d9b7e05aa0ca
Use an empty string instead on None in the copy work queue

The test for copy end is just "if not item", so the empty string is
actually never used as a piece of data. This simplifies the type of the
queue.
psycopg/psycopg/copy.py