Use AttributeError for static binding protection
commite674340db90c29c556b45e0a8f8b2da72661b738
authorSimon Feltman <sfeltman@src.gnome.org>
Tue, 12 Aug 2014 06:12:38 +0000 (11 23:12 -0700)
committerSimon Feltman <sfeltman@src.gnome.org>
Tue, 12 Aug 2014 06:12:38 +0000 (11 23:12 -0700)
treeb683c213e5e2420732b18d5efb521cb02c56cec9
parent86fb12b3e9b7558000d100f8f212e970ae8c4fd2
Use AttributeError for static binding protection

Replace usage of RuntimeError with AttributeError in the dummy module
protecting importing of static bindings. This is needed so we don't break
modules like inspect which is used by ipython.
gi/__init__.py