flatpak / flat-manager

Manager for flatpak repositories
Apache License 2.0
178 stars 43 forks source link

Use gi.require_version before import and make pygobject the last import #138

Closed bbhtt closed 3 weeks ago

bbhtt commented 3 weeks ago

Otherwise this raises a warning when running flat-manager-client.

/usr/sbin/flat-manager-client:36: PyGIWarning: OSTree was imported without specifying a version first. Use gi.require_version('OSTree', '1.0') before import to ensure that the right version gets loaded.

Fixes regression in 9689a6f80d52bd5c01508f04e7b6b808bf74376b