def wipe_yum_cache(repository):
 return run_from_args(['yum', '--disablerepo=*', ('--enablerepo=' + repository), 'clean', 'expire-cache'])

def wipe_yum_cache ( repository ) : return run_from_args ( [ 'yum' , '--disablerepo=*' , ( '--enablerepo=' + repository ) , 'clean' , 'expire-cache' ] )
force yum to update the metadata for a particular repository .