mirror of https://github.com/veops/cmdb.git
fix py3
This commit is contained in:
parent
398fbb25dc
commit
42bcc2e510
|
@ -19,8 +19,8 @@ def init_cache():
|
|||
|
||||
cis = CI.get_by(to_dict=False)
|
||||
for ci in cis:
|
||||
|
||||
if list(filter(lambda x: x, rd.get([ci.id]))):
|
||||
res = rd.get([ci.id])
|
||||
if res and list(filter(lambda x: x, res)):
|
||||
continue
|
||||
|
||||
m = api.lib.cmdb.ci.CIManager()
|
||||
|
|
Loading…
Reference in New Issue