OpenPrinting / system-config-printer

Graphical user interface for CUPS administration
GNU General Public License v2.0
163 stars 89 forks source link

GObject introspection uses ValueError exception instead of ImportError #94

Closed bigon closed 6 years ago

bigon commented 6 years ago

Hi,

When gi is trying to import a non-existing binding, it will raise a ValueError exception, not an ImportError one.

This makes https://github.com/zdohnal/system-config-printer/blob/master/jobviewer.py#L56 boggus