rewritten as list literals (#2160) (#2167)

* rewritten as list literals

* added changelog fragment

(cherry picked from commit b97e31dd55)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2021-04-05 09:50:08 +02:00
committed by GitHub
parent 12d3c4e174
commit f51cdb367f
11 changed files with 55 additions and 94 deletions

View File

@@ -84,7 +84,5 @@ class Hiera(object):
class LookupModule(LookupBase):
def run(self, terms, variables=''):
hiera = Hiera()
ret = []
ret.append(hiera.get(terms))
ret = [hiera.get(terms)]
return ret