Skip to content

Commit

Permalink
Use ipaddress from standard library
Browse files Browse the repository at this point in the history
  • Loading branch information
humitos committed Jan 8, 2019
1 parent 05f5309 commit 685e547
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2,424 deletions.
7 changes: 1 addition & 6 deletions readthedocs/analytics/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Utilities related to analytics"""

import hashlib
import ipaddress
import logging

import requests
Expand All @@ -10,12 +11,6 @@
from user_agents import parse


try:
# Python 3.3+ only
import ipaddress
except ImportError:
from .vendor import ipaddress

log = logging.getLogger(__name__) # noqa


Expand Down
Empty file.
Loading

0 comments on commit 685e547

Please sign in to comment.