TrivialFix: remove 'deleted' flag
deleted variable is only used inside the inner loop no need to define it outside, might make developer thought it's by default 'deleted' = False Change-Id: Ifaabc4e6b2b75193c36ab37d731a626f52b70894
This commit is contained in:
parent
f37da3c407
commit
3bad0705b1
@ -1973,7 +1973,6 @@ def instance_get_all_by_filters_sort(context, filters, limit=None, marker=None,
|
||||
query_prefix = query_prefix.\
|
||||
filter(models.Instance.updated_at >= changes_since)
|
||||
|
||||
deleted = False
|
||||
if 'deleted' in filters:
|
||||
# Instances can be soft or hard deleted and the query needs to
|
||||
# include or exclude both
|
||||
|
Loading…
Reference in New Issue
Block a user