OSDN Git Service

windowing: workaround for old config files
authorMartin Renold <martinxyz@gmx.ch>
Sun, 3 Jul 2011 17:46:20 +0000 (19:46 +0200)
committerMartin Renold <martinxyz@gmx.ch>
Sun, 3 Jul 2011 17:50:13 +0000 (19:50 +0200)
commit80cac93831177bc5b53bed1a331f30154dc291cf
treedf871d2070b5f2403b526d0722ee9fa8b08c3678
parent8553fbdab370fbb7b9fbdab1936f3271f75a4fc8
windowing: workaround for old config files

Reported by deevad via IRC:
File "/usr/local/share/mypaint/gui/windowing.py", line 46, in window_factory
    module = __import__(role.lower(), globals(), locals(), [])
ImportError: No module named null

Not sure why exactly we get 'null' here, but it's the obvious fix to
replace the old catch-all exception handler from 780ba0.
gui/windowing.py