mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 11:27:36 -02:30
flake8
This commit is contained in:
@@ -31,7 +31,6 @@ class CleanupFacts(object):
|
|||||||
# pivot -= granularity
|
# pivot -= granularity
|
||||||
# group by host
|
# group by host
|
||||||
def cleanup(self, older_than_abs, granularity, module=None):
|
def cleanup(self, older_than_abs, granularity, module=None):
|
||||||
flag_delete_all = False
|
|
||||||
fact_oldest = FactVersion.objects.all().order_by('timestamp').first()
|
fact_oldest = FactVersion.objects.all().order_by('timestamp').first()
|
||||||
if not fact_oldest:
|
if not fact_oldest:
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user