aboutsummaryrefslogtreecommitdiff
path: root/mammoth/compat.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2017-05-18 20:12:25 +0100
committerMichael Williamson <mike@zwobble.org>2017-05-18 20:12:25 +0100
commitd0b4eb76001049a23fe038025cfa56472703fa70 (patch)
treeae48abeafbf170611e978d880447c5bb84d02e72 /mammoth/compat.py
parent85f99611c84cf0853200fb358f135160c063b690 (diff)
Avoid parsing URI when replacing fragment
Diffstat (limited to 'mammoth/compat.py')
-rw-r--r--mammoth/compat.py9
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"]