Changeset 2714

Show
Ignore:
Timestamp:
11/06/17 01:54:30 (3 years ago)
Author:
jwoithe
Message:

Remove some additional "has_key()" calls which were omitted from r2713.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/admin/doxygen.py

    r2712 r2714  
    8484      else: 
    8585         if token == "+=": 
    86             if not data.has_key(key)
     86            if not key in data
    8787               data[key] = list() 
    8888         elif token == "=": 
  • trunk/libffado/support/alsa/SConscript

    r1699 r2714  
    3737sources = ["alsa_plugin.cpp"] 
    3838 
    39 if env.has_key("ALSA_FLAGS") and env['ALSA_FLAGS']: 
     39if 'ALSA_FLAGS' in env and env['ALSA_FLAGS']: 
    4040    env.MergeFlags( env["ALSA_FLAGS"] ) 
    4141    env.MergeFlags( "-DPIC" ) 
  • trunk/libffado/tests/SConscript

    r2650 r2714  
    6868        apps.update( { "test-focusrite" : "test-focusrite.cpp" } ) 
    6969if env['ENABLE_GENERICAVC']: 
    70         if env.has_key("ALSA_FLAGS") and env["ALSA_FLAGS"]: 
     70        if 'ALSA_FLAGS' in env and env["ALSA_FLAGS"]: 
    7171                env.MergeFlags( env["ALSA_FLAGS"] ) 
    7272                apps.update( { "test-scs" : "test-scs.cpp" } )