Remove "from __future__ import with_statement"

All versions of Python supported by psycopg2 have builtin support for
the with statement. The import is unnecessary noise.
This commit is contained in:
Jon Dufresne 2017-11-28 06:03:46 -08:00
parent 914ccbacb5
commit 4c95668c72
2 changed files with 0 additions and 4 deletions

View File

@ -13,7 +13,6 @@
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
# License for more details. # License for more details.
from __future__ import with_statement
import re import re
import sys import sys

View File

@ -22,9 +22,6 @@
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
# License for more details. # License for more details.
from __future__ import with_statement
import psycopg2 import psycopg2
import psycopg2.extensions as ext import psycopg2.extensions as ext