Fix warning reporting to not crash with F14 pygtk

This commit is contained in:
Cole Robinson 2010-11-17 11:28:43 -05:00
parent 8876217728
commit 9bf29dfdaa

View File

@ -284,7 +284,7 @@ def main():
# on as if all were fine. Ultimately bad stuff happens,
# so lets catch it here & get the hell out...
import warnings
warnings.filterwarnings('error', module='gtk')
warnings.filterwarnings('error', module='gtk', append=True)
try:
import gobject