Blame SOURCES/file-5.11-python-comment.patch

f4ec37
From ac2eb47fe154aa01460414de987491b02ea225e2 Mon Sep 17 00:00:00 2001
f4ec37
From: Christos Zoulas <christos@zoulas.com>
f4ec37
Date: Sat, 15 Feb 2014 01:30:52 +0000
f4ec37
Subject: [PATCH] comment out python comment magic cause other things like
f4ec37
 mediawiki use it.
f4ec37
f4ec37
Upstream-commit: eced9dbd4aa438de22ff453c723136beac41a558
f4ec37
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
f4ec37
---
f4ec37
 magic/Magdir/python | 12 ++++++------
f4ec37
 1 file changed, 6 insertions(+), 6 deletions(-)
f4ec37
f4ec37
diff --git a/magic/Magdir/python b/magic/Magdir/python
f4ec37
index 53cae42..b3ee014 100644
f4ec37
--- a/magic/Magdir/python
f4ec37
+++ b/magic/Magdir/python
f4ec37
@@ -46,13 +46,13 @@
f4ec37
 !:mime text/x-python
f4ec37
 
f4ec37
 # comments
f4ec37
-0	search/4096	'''
f4ec37
->&0	regex	.*'''$	Python script text executable
f4ec37
-!:mime text/x-python
f4ec37
+#0	search/4096	'''
f4ec37
+#>&0	regex	.*'''$	Python script text executable
f4ec37
+#!:mime text/x-python
f4ec37
 
f4ec37
-0	search/4096	"""
f4ec37
->&0	regex	.*"""$	Python script text executable
f4ec37
-!:mime text/x-python
f4ec37
+#0	search/4096	"""
f4ec37
+#>&0	regex	.*"""$	Python script text executable
f4ec37
+#!:mime text/x-python
f4ec37
 
f4ec37
 # try:
f4ec37
 # except: or finally:
f4ec37
-- 
f4ec37
2.14.4
f4ec37