diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2019-09-07 23:01:11 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-07 23:01:11 -0300 |
| commit | 6be6a2d7a031747c7bd4e56f4f839b5948b8bee2 (patch) | |
| tree | 8b42119a80dc12a26dbc367e8fbe88e3ff1741ff /community/syslog-summary/02-new-python-magic.patch | |
| parent | 9b0daa8496dd8c9f33e6d4cd4a0319e6f91874c1 (diff) | |
| download | aports-6be6a2d7a031747c7bd4e56f4f839b5948b8bee2.tar.bz2 aports-6be6a2d7a031747c7bd4e56f4f839b5948b8bee2.tar.xz | |
community/syslog-summary: remove
- Python2 only
- Last release from 2009
Diffstat (limited to 'community/syslog-summary/02-new-python-magic.patch')
| -rw-r--r-- | community/syslog-summary/02-new-python-magic.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/community/syslog-summary/02-new-python-magic.patch b/community/syslog-summary/02-new-python-magic.patch deleted file mode 100644 index 5e0f231af5..0000000000 --- a/community/syslog-summary/02-new-python-magic.patch +++ /dev/null @@ -1,16 +0,0 @@ -## use the new thread safe version of python-magic not the original ## - ---- syslog-summary-1.14/syslog-summary -+++ syslog-summary-1.14/syslog-summary.new -@@ -130,9 +130,8 @@ - """Returns True if the filename is a gzipped compressed file""" - try: - import magic -- ms = magic.open(magic.MAGIC_NONE) -- ms.load() -- if re.search("^gzip compressed data.*", ms.file(filename)): -+ ms = magic.from_file(filename) -+ if re.search("^gzip compressed data.*", ms): - return True - else: - return False |
