Skip to content

Commit

Permalink
Ignore ObjectListView deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexras committed Apr 12, 2015
1 parent 07e8fe3 commit cd5b0ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ cover/
Include/
Lib/
Scripts
*~
5 changes: 5 additions & 0 deletions lsmc/LSMC
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
import wx, functools, event_handlers
from ObjectListView import ColumnDefn

# Filter deprecation warnings from ObjectListView so that they don't
# trigger error log messages on Windows
import warnings
warnings.filterwarnings('ignore', category=DeprecationWarning, module='ObjectListView')

import utils

from LogWindow import open_log_window
Expand Down

0 comments on commit cd5b0ed

Please sign in to comment.