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

def no_os_popen ( logical_line ) : if ( 'os.popen(' in logical_line ) : ( yield ( 0 , 'N348 Deprecated library function os.popen(). Replace it using subprocess module. ' ) )
disallow os .