Blob Blame History Raw
From 6d1b824b6f90207006c6f27ff8b1bb869450c949 Mon Sep 17 00:00:00 2001
From: Ralph Bean <rbean@redhat.com>
Date: Fri, 25 May 2018 13:47:34 -0400
Subject: [PATCH] no mime detection

---
 jira/client.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/jira/client.py b/jira/client.py
index cfd44dc..d1042f7 100644
--- a/jira/client.py
+++ b/jira/client.py
@@ -421,7 +421,11 @@ class JIRA(object):
         if len(context_path) > 0:
             self._options['context_path'] = context_path
 
-        self._try_magic()
+        # This is patched out for Fedora because python-jira is expecting a
+        # different magic module than the one we ship.  See:
+        # https://bugzilla.redhat.com/show_bug.cgi?id=1025368#c11
+        #self._try_magic()
+        self._magic = None
 
         if oauth:
             self._create_oauth_session(oauth, timeout)
-- 
2.17.0