Joanna Jeremicz | 9c14f19 | 2020-03-19 14:51:51 +0100 | [diff] [blame] | 1 | |
2 | class EnvsReader: | ||||
3 | |||||
4 | def read_env_list_from_file(self, path): | ||||
5 | f = open(path, "r") | ||||
6 | r_list = [] | ||||
7 | for line in f: | ||||
8 | line = line.strip() | ||||
9 | if line[0] != "#": | ||||
10 | r_list.append(line) | ||||
11 | return r_list |