mirror of
https://github.com/veops/cmdb.git
synced 2025-08-06 15:43:42 +08:00
fix py3
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user