mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
flake8 fix
This commit is contained in:
parent
e5b0e2aeb3
commit
5759db1229
@ -67,7 +67,7 @@ class FactCacheReceiver(object):
|
||||
self.timestamp = datetime.fromtimestamp(date_key, None)
|
||||
|
||||
# Update existing Fact entry
|
||||
fact_obj = Fact.objects.filter(host__id=host_obj.id, module=module_name, timestamp=self.timestamp)
|
||||
fact_obj = Fact.objects.filter(host__id=host_obj.id, module=module_name, timestamp=self.timestamp)
|
||||
if fact_obj:
|
||||
fact_obj.facts = facts
|
||||
fact_obj.save()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user