Revision eedbda4b lib/utils.py

b/lib/utils.py
848 848
    success = (not live_port_needed) and (errcode == errno.ECONNREFUSED)
849 849

  
850 850
  return success
851

  
852

  
853
def ListVisibleFiles(path):
854
  """Returns a list of all visible files in a directory.
855

  
856
  """
857
  return [i for i in os.listdir(path) if not i.startswith(".")]

Also available in: Unified diff