Skip to content

Commit

Permalink
pypi_upload: remove python2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Dec 19, 2020
1 parent f949a35 commit 2a6d500
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions tools/pypi_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,11 @@
# License AGPLv3 (https://www.gnu.org/licenses/agpl-3.0-standalone.html)
from __future__ import print_function
import contextlib
try:
import dbm.dumb as dumbdbm
except ImportError:
# python 2
import dumbdbm
import dbm.dumb as dumbdbm
import logging
import os
import subprocess
try:
from configparser import RawConfigParser
except ImportError:
from ConfigParser import RawConfigParser
from configparser import RawConfigParser

from pkg_resources import parse_version

Expand Down

0 comments on commit 2a6d500

Please sign in to comment.