From d0b4eb76001049a23fe038025cfa56472703fa70 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 18 May 2017 20:12:25 +0100 Subject: Avoid parsing URI when replacing fragment --- mammoth/compat.py | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 mammoth/compat.py (limited to 'mammoth/compat.py') 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"] -- cgit v1.2.3