diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2019-05-28 08:52:45 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2019-05-28 16:02:15 +0200 |
commit | b7fc562c888f1c71c5b462c5cb612455625d838c (patch) | |
tree | 394a16f491c66d2d8f5741a4a611f1c3c800e909 /test/test_common.py | |
parent | 1a825de020cb12aa3c17b23c46e7ae975ec3b977 (diff) | |
download | poezio-b7fc562c888f1c71c5b462c5cb612455625d838c.tar.gz poezio-b7fc562c888f1c71c5b462c5cb612455625d838c.tar.bz2 poezio-b7fc562c888f1c71c5b462c5cb612455625d838c.tar.xz poezio-b7fc562c888f1c71c5b462c5cb612455625d838c.zip |
Also skip librsvg import on AttributeError
In the case python-gobject isn’t installed, but another package (such as
libibus) provides overrides, the gi module will still get imported fine
despite being empty, resulting in a traceback. To prevent this, we also
catch AttributeError so that gi.require_version can fail.
Diffstat (limited to 'test/test_common.py')
0 files changed, 0 insertions, 0 deletions