Skip to content

Commit

Permalink
Removes py2.7 urlparse import (#168)
Browse files Browse the repository at this point in the history
* Fixes #167 - Removes py2.7 urlparse import

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
mattseymour and pre-commit-ci[bot] authored May 29, 2022
1 parent b9cc1e4 commit aba6a67
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions dj_database_url.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-

import os

try:
import urlparse
except ImportError:
import urllib.parse as urlparse
import urllib.parse as urlparse

try:
from django import VERSION as DJANGO_VERSION
Expand Down

0 comments on commit aba6a67

Please sign in to comment.