mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
dconf - Try to find a Python interpreter that has gi.repository.GLib (#6491)
* dconf - Try to find a Python interpreter that has gi.repository.GLib If we're invoked in a Python interpreter that doesn't have access to `gi.repository.GLib`, try to find one that does and respawn the task in that interpreter. * ChangeLog fragment for #6491 * Update changelogs/fragments/6491-dconf-respawn.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Simplify import code * Get rid of ModuleNotFoundError --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
febe7a2fb4
commit
9f3c86a589
2 changed files with 38 additions and 0 deletions
2
changelogs/fragments/6491-dconf-respawn.yml
Normal file
2
changelogs/fragments/6491-dconf-respawn.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- dconf - if ``gi.repository.GLib`` is missing, try to respawn in a Python interpreter that has it (https://github.com/ansible-collections/community.general/pull/6491).
|
Loading…
Add table
Add a link
Reference in a new issue