Changeset 4923

Show
Ignore:
Timestamp:
07/09/09 11:24:38 (5 months ago)
Author:
goodell
Message:

Suppress more deprecation warnings in mpd (tickets #362,#695,#697)

Similar changes were previously made in r3726.

Reviewed by buntinas@.

Location:
mpich2/trunk/src/pm/mpd
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • mpich2/trunk/src/pm/mpd/mpdboot.py

    r4326 r4923  
    4444  the default is 4 
    4545""" 
     46 
     47# workaround to suppress deprecated module warnings in python2.6 
     48# see https://trac.mcs.anl.gov/projects/mpich2/ticket/362 for tracking 
     49import warnings 
     50warnings.filterwarnings('ignore', '.*the popen2 module is deprecated.*', DeprecationWarning) 
     51 
    4652from time import ctime 
    4753__author__ = "Ralph Butler and Rusty Lusk" 
  • mpich2/trunk/src/pm/mpd/mpdcheck.py

    r4240 r4923  
    5454        host/port where you previously started the server 
    5555""" 
     56 
     57# workaround to suppress deprecated module warnings in python2.6 
     58# see https://trac.mcs.anl.gov/projects/mpich2/ticket/362 for tracking 
     59import warnings 
     60warnings.filterwarnings('ignore', '.*the popen2 module is deprecated.*', DeprecationWarning) 
     61 
    5662from time import ctime 
    5763__author__ = "Ralph Butler and Rusty Lusk" 
  • mpich2/trunk/src/pm/mpd/mpdgdbdrv.py

    r864 r4923  
    99exec'd by mpdman to support mpigdb. 
    1010""" 
     11 
     12# workaround to suppress deprecated module warnings in python2.6 
     13# see https://trac.mcs.anl.gov/projects/mpich2/ticket/362 for tracking 
     14import warnings 
     15warnings.filterwarnings('ignore', '.*the popen2 module is deprecated.*', DeprecationWarning) 
     16 
    1117from time import ctime 
    1218__author__ = "Ralph Butler and Rusty Lusk" 
  • mpich2/trunk/src/pm/mpd/newboot.py

    r4326 r4923  
    3232  the default is 4 
    3333""" 
     34 
     35# workaround to suppress deprecated module warnings in python2.6 
     36# see https://trac.mcs.anl.gov/projects/mpich2/ticket/362 for tracking 
     37import warnings 
     38warnings.filterwarnings('ignore', '.*the popen2 module is deprecated.*', DeprecationWarning) 
     39 
    3440from time import ctime 
    3541__author__ = "Ralph Butler and Rusty Lusk"