def _get_tag(repo, name):
 try:
  return [x for x in _all_tags(repo) if (x[0] == name)][0]
 except IndexError:
  return False

def _get_tag ( repo , name ) : try : return [ x for x in _all_tags ( repo ) if ( x [ 0 ] == name ) ] [ 0 ] except IndexError : return False
get a "tag" from an ebs or rackspace volume .