def no_os_popen(logical_line):
    """Disallow 'os.popen('

    Deprecated library function os.popen() Replace it using subprocess
    https://bugs.launchpad.net/tempest/+bug/1529836

    M329
    """
    if 'os.popen(' in logical_line:
        yield 0, 'M329 Deprecated library function os.popen(). Replace it using subprocess module. '
