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

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