diff options
| author | Michael Williamson <mike@zwobble.org> | 2017-05-18 20:12:25 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2017-05-18 20:12:25 +0100 |
| commit | d0b4eb76001049a23fe038025cfa56472703fa70 (patch) | |
| tree | ae48abeafbf170611e978d880447c5bb84d02e72 /mammoth/compat.py | |
| parent | 85f99611c84cf0853200fb358f135160c063b690 (diff) | |
Avoid parsing URI when replacing fragment
Diffstat (limited to 'mammoth/compat.py')
| -rw-r--r-- | mammoth/compat.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/mammoth/compat.py b/mammoth/compat.py deleted file mode 100644 index 5fb9acf..0000000 --- a/mammoth/compat.py +++ /dev/null @@ -1,9 +0,0 @@ -import sys - -if sys.version_info < (3, ): - from urlparse import urldefrag -else: - from urllib.parse import urldefrag - - -__all__ = ["urldefrag"] |
