really ignore GTK warnings under windows

This commit is contained in:
Yann Leboulanger 2008-04-04 21:31:27 +00:00
parent 163b680200
commit e341548d25
1 changed files with 4 additions and 0 deletions

View File

@ -145,6 +145,10 @@ except Warning, msg:
sys.exit() sys.exit()
warnings.resetwarnings() warnings.resetwarnings()
if os.name == 'nt':
import warnings
warnings.filterwarnings(action='ignore')
pritext = '' pritext = ''
from common import exceptions from common import exceptions