[packages/python-pysnmp] remove binary_mibs patch dropped from spec in 320cf0b
atler
atler at pld-linux.org
Sat Mar 6 13:23:37 CET 2021
commit cf953da89dc820df1ac684bfb2d1ee7ce27fe628
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Mar 6 13:22:50 2021 +0100
remove binary_mibs patch dropped from spec in 320cf0b
pysnmp-binary_mibs.patch | 21 ---------------------
1 file changed, 21 deletions(-)
---
diff --git a/pysnmp-binary_mibs.patch b/pysnmp-binary_mibs.patch
deleted file mode 100644
index 1b1388e..0000000
--- a/pysnmp-binary_mibs.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -dur pysnmp-4.2.3.orig/pysnmp/smi/builder.py pysnmp-4.2.3/pysnmp/smi/builder.py
---- pysnmp-4.2.3.orig/pysnmp/smi/builder.py 2012-08-29 23:22:35.000000000 +0200
-+++ pysnmp-4.2.3/pysnmp/smi/builder.py 2012-12-20 10:49:27.000000000 +0100
-@@ -138,7 +138,7 @@
-
- def _getData(self, f, mode=None):
- data = self.__loader.get_data(os.path.join(self._srcName, f))
-- if sys.version_info[0] <= 2:
-+ if sys.version_info[0] <= 2 and "b" not in mode:
- data = data.replace('\r\n', '\n')
- return data
-
-@@ -160,7 +160,7 @@
- try:
- if f in os.listdir(self._srcName): # make FS case-sensitive
- data = open(os.path.join(self._srcName, f), mode).read()
-- if sys.version_info[0] <= 2:
-+ if sys.version_info[0] <= 2 and "b" not in mode:
- data = data.replace('\r\n', '\n')
- return data
- except OSError:
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pysnmp.git/commitdiff/cf953da89dc820df1ac684bfb2d1ee7ce27fe628
More information about the pld-cvs-commit
mailing list