Commit e97c3e5
authored
Fix
* Add timeout to `clipboard_xsel` at import time
* Call '--version' in `xsel` subprocess
Guarantees some return value, even if the clipboard is empty.
* Remove meaningless try/exceptxsel import when clipboard is empty, and add timeout failsafe (kivy#8682)1 parent f546e9a commit e97c3e5
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
| |||
0 commit comments