Blob Blame History Raw
--- mcomix-0.92/mcomix/constants.py.disp	2011-05-20 04:22:23.000000000 +0900
+++ mcomix-0.92/mcomix/constants.py	2011-08-21 23:26:06.000000000 +0900
@@ -80,6 +80,10 @@
     # Missing GTK is already handled in mcomixstarter.py,
     # but this file is imported first, so ignore exceptions here.
     pass
+except RuntimeError:
+    # On Fedora's rpmbuild. DISPLAY is always unset and Fedora's
+    # gtk fails to import without DISPLAY, ignore for now
+    pass
 
 
 # vim: expandtab:sw=4:ts=4