diff options
author | Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> | 2020-08-12 09:29:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-08-12 09:29:06 +0000 |
commit | 7bf9d5c1e9c94d60b138c73a716bc10bce038992 (patch) | |
tree | 3d8e07ae614abb860a85a5f8aaaa52812539b3e6 /tests/oom-platform-cert-service/certservice/libraries/EnvsReader.py | |
parent | 7ee6e129f29262b3c7828299bf457004abf28614 (diff) | |
parent | b7a057e8017b7899de26f977fa3841882035200b (diff) |
Merge "Move csits form aaf to oom"
Diffstat (limited to 'tests/oom-platform-cert-service/certservice/libraries/EnvsReader.py')
-rw-r--r-- | tests/oom-platform-cert-service/certservice/libraries/EnvsReader.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/oom-platform-cert-service/certservice/libraries/EnvsReader.py b/tests/oom-platform-cert-service/certservice/libraries/EnvsReader.py new file mode 100644 index 00000000..cc60eed6 --- /dev/null +++ b/tests/oom-platform-cert-service/certservice/libraries/EnvsReader.py @@ -0,0 +1,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 |