diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-12 18:36:37 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-12 18:36:37 +0000 |
| commit | 3649b8ddca0f220e962705683badc691592a8289 (patch) | |
| tree | aa4a41f44db22339ef48df520546fdba60d80e31 /dev-python/python-magic/files/python-magic-0.4.15-fix-gzip-test.patch | |
| parent | bb7cdddd16ce099bb1e2af1aacf65aafbded30e3 (diff) | |
| download | baldeagleos-repo-3649b8ddca0f220e962705683badc691592a8289.tar.gz baldeagleos-repo-3649b8ddca0f220e962705683badc691592a8289.tar.xz baldeagleos-repo-3649b8ddca0f220e962705683badc691592a8289.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/python-magic/files/python-magic-0.4.15-fix-gzip-test.patch')
| -rw-r--r-- | dev-python/python-magic/files/python-magic-0.4.15-fix-gzip-test.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/dev-python/python-magic/files/python-magic-0.4.15-fix-gzip-test.patch b/dev-python/python-magic/files/python-magic-0.4.15-fix-gzip-test.patch deleted file mode 100644 index d48637139e2f..000000000000 --- a/dev-python/python-magic/files/python-magic-0.4.15-fix-gzip-test.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit e83487a20bacd4f9b33d0478861671bf79468f59 -Author: Louis Sautier <sautier.louis@gmail.com> -Date: Mon Aug 13 12:15:13 2018 +0200 - - Allow x-gzip as MIME type for gzip files, fixes #96 - -diff --git a/test/test.py b/test/test.py -index e29335f..e3ee703 100755 ---- a/test/test.py -+++ b/test/test.py -@@ -54,7 +54,7 @@ class MagicTest(unittest.TestCase): - self.assert_values(m, { - 'magic._pyc_': 'application/octet-stream', - 'test.pdf': 'application/pdf', -- 'test.gz': 'application/gzip', -+ 'test.gz': ('application/gzip', 'application/x-gzip'), - 'text.txt': 'text/plain', - b'\xce\xbb'.decode('utf-8'): 'text/plain', - b'\xce\xbb': 'text/plain', |
