accessibility/accerciser: fix packaging with python 3.7
Add upstream patch to fix packaging/runtime with python 3.7 PR: 233770 With hat: gnome
This commit is contained in:
parent
d2caf7f03b
commit
a11d42e2b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487327
@ -0,0 +1,14 @@
|
||||
diff --git src/lib/accerciser/accerciser.py src/lib/accerciser/accerciser.py
|
||||
index fa6e5c752c2b921ab5cb324b747c0080e65f5f82..065a7fec78c62cb79acdda6fee7adc1097c586cf 100644
|
||||
--- src/lib/accerciser/accerciser.py
|
||||
+++ src/lib/accerciser/accerciser.py
|
||||
@@ -103,7 +103,8 @@ class Main(Tools):
|
||||
'''
|
||||
GLib.timeout_add(200, self._pumpEvents)
|
||||
try:
|
||||
- pyatspi.Registry.start(async=True, gil=False)
|
||||
+ # async is a reserved keyword in Python 3.7+, so we pass the args as dict
|
||||
+ pyatspi.Registry.start(**{'async': True, 'gil': False})
|
||||
except KeyboardInterrupt:
|
||||
self._shutDown()
|
||||
|
Loading…
Reference in New Issue
Block a user