aboutsummaryrefslogtreecommitdiffstats
path: root/tests/aaf/certservice/libraries/EnvsReader.py
blob: cc60eed6456995637ae2785ae422fa770578ccf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
class EnvsReader:

  def read_env_list_from_file(self, path):
    f = open(path, "r")
    r_list = []
    for line in f:
      line = line.strip()
      if line[0] != "#":
        r_list.append(line)
    return r_list