diff options
author | Rod Kay | 2021-07-22 08:22:43 +1000 |
---|---|---|
committer | Rod Kay | 2021-07-22 08:22:43 +1000 |
commit | 2d295af4322de05ffc966f4f4a396e99d69346c1 (patch) | |
tree | 6fafbf8141c102d35cb4b99ecc722860825a110c /patch-share-support-ui-pygps-__init__.py | |
parent | d01d85dec133dfdc03c0b5cc2e313fe70d55ce20 (diff) | |
download | aur-2d295af4322de05ffc966f4f4a396e99d69346c1.tar.gz |
Update to 2021 release.
Diffstat (limited to 'patch-share-support-ui-pygps-__init__.py')
-rw-r--r-- | patch-share-support-ui-pygps-__init__.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/patch-share-support-ui-pygps-__init__.py b/patch-share-support-ui-pygps-__init__.py new file mode 100644 index 000000000000..ad10883175e2 --- /dev/null +++ b/patch-share-support-ui-pygps-__init__.py @@ -0,0 +1,32 @@ +--- share/support/ui/pygps/__init__.py 2021-06-23 15:03:03.040414000 +1000 ++++ share/support/ui/pygps/__init__.py-new 2021-07-22 02:06:52.486421000 +1000 +@@ -24,7 +24,8 @@ + + import GPS + import sys +-from pynput.keyboard import Key, Controller ++#import pynput ++#from pynput.keyboard import Key, Controller + + global last_sent_event + last_sent_event = None +@@ -127,7 +128,8 @@ + def __iter__(self): + return self + +- def __next__(self): ++ # def __next__(self): ++ def next(self): + # Never delete elements from self.to_traverse, otherwise pygobject + # will call decref on it, and it is possible that the gtk+ widget + # will be destroyed as a result +@@ -176,7 +178,8 @@ + def __iter__(self): + return self + +- def __next__(self): ++ # def __next__(self): ++ def next(self): + # Never delete elements from self.to_traverse, otherwise pygobject + # will call decref on it, and it is possible that the gtk+ widget + # will be destroyed as a result |