diff --git a/debian/changelog b/debian/changelog index 77032400240a283cfde3b95ebeebd3fd6bd5c41d..e4d772f209559aa7bb947c63d8edfc91f68abe64 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,13 @@ python-pysnmp4 (4.4.3-2) UNRELEASED; urgency=medium + [ Ondřej Nový ] * d/control: Set Vcs-* to salsa.debian.org * d/copyright: Use https protocol in Format field - -- Ondřej Nový <onovy@debian.org> Tue, 13 Feb 2018 10:03:56 +0100 + [ Michal Arbet ] + * Add 0002-Fix-py37-async-as-keyword.patch (Closes: #904357) + + -- Michal Arbet <michal.arbet@ultimum.io> Tue, 31 Jul 2018 12:59:43 +0300 python-pysnmp4 (4.4.3-1) unstable; urgency=medium diff --git a/debian/patches/0002-Fix-py37-async-as-keyword.patch b/debian/patches/0002-Fix-py37-async-as-keyword.patch new file mode 100644 index 0000000000000000000000000000000000000000..a4b0e9bd3ba541e61a05d051dfbff3837378cd1f --- /dev/null +++ b/debian/patches/0002-Fix-py37-async-as-keyword.patch @@ -0,0 +1,22 @@ +From: Michal Arbet <michal.arbet@ultimum.io> +Date: Tue, 31 Jul 2018 12:39:21 +0300 +Forwarded: yes +Last-Update: 2018-07-31 + +--- + pysnmp/carrier/asyncio/dispatch.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pysnmp/carrier/asyncio/dispatch.py b/pysnmp/carrier/asyncio/dispatch.py +index bd86579..9af7fcd 100644 +--- a/pysnmp/carrier/asyncio/dispatch.py ++++ b/pysnmp/carrier/asyncio/dispatch.py +@@ -69,7 +69,7 @@ class AsyncioDispatcher(AbstractTransportDispatcher): + + def registerTransport(self, tDomain, transport): + if self.loopingcall is None and self.getTimerResolution() > 0: +- self.loopingcall = asyncio.async(self.handle_timeout()) ++ self.loopingcall = getattr(asyncio, 'async')(self.handle_timeout()) + AbstractTransportDispatcher.registerTransport( + self, tDomain, transport + ) diff --git a/debian/patches/series b/debian/patches/series index cf6112b1b39fde03a15c004bee4bab200f2dee71..a7ab4d82ba8e94f523abd5a936ab05551e6e07be 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 0001-Remove-privacy-breach-badges.patch +0002-Fix-py37-async-as-keyword.patch