def _filter_running(runnings):
 ret = dict(((tag, value) for (tag, value) in six.iteritems(runnings) if ((not value['result']) or value['changes'])))
 return ret

def _filter_running ( runnings ) : ret = dict ( ( ( tag , value ) for ( tag , value ) in six . iteritems ( runnings ) if ( ( not value [ 'result' ] ) or value [ 'changes' ] ) ) ) return ret
filter out the result: true + no changes data .