chat/py-mastodon: Fix typo in patch.

This commit is contained in:
nia 2018-07-31 21:14:33 +00:00
parent f6b39ed173
commit 8678005aff
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.2 2018/07/31 16:14:29 nia Exp $
$NetBSD: distinfo,v 1.3 2018/07/31 21:14:33 nia Exp $
SHA1 (Mastodon.py-1.2.2.tar.gz) = 1589bf3c18e1ae765cd8312a4cb53164d4447d08
RMD160 (Mastodon.py-1.2.2.tar.gz) = 282216a8179a1f019432943d5039105fc6fa3fd7
SHA512 (Mastodon.py-1.2.2.tar.gz) = 4e82fec7a53c36a14f27a238ac97a2f71cdfbb10671013d60f3083456209c2916f7a1e22015d33238c017a9f81c46e4703477076d5974cb86816af048b5c5ecf
Size (Mastodon.py-1.2.2.tar.gz) = 19793 bytes
SHA1 (patch-mastodon_Mastodon.py) = a1baf579da05905dcb1cf679c728877dd3fcee54
SHA1 (patch-mastodon_Mastodon.py) = 31f291e7a96daddd0f06f8b3d8add3508b74de73

View file

@ -1,4 +1,4 @@
$NetBSD: patch-mastodon_Mastodon.py,v 1.1 2018/07/31 16:14:29 nia Exp $
$NetBSD: patch-mastodon_Mastodon.py,v 1.2 2018/07/31 21:14:33 nia Exp $
'async' is a reserved keyword in Python 3.7.
@ -65,7 +65,7 @@ $NetBSD: patch-mastodon_Mastodon.py,v 1.1 2018/07/31 16:14:29 nia Exp $
return response
- def __stream(self, endpoint, listener, params={}, async=False):
+ def __stream(self, endpoint, listener, params={}, usync=False):
+ def __stream(self, endpoint, listener, params={}, run_async=False):
"""
Internal streaming API helper.