Renamed all the is_XXX_needed properties to is_need_XXX. For example, especially the is_offset_needed property to is_need_offset, to be clear and understandable.

This commit is contained in:
imacat committed 2023-03-18 22:52:29 +08:00
1 parent 98e1bad413
commit 5571c0d01f
21 files changed
+55 -55

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ class EntryCollector:
code.contains(k),
Account.id.in_(select_l10n)]
if k in gettext("Need offset"):
conditions.append(Account.is_offset_needed)
conditions.append(Account.is_need_offset)
return sa.select(Account.id).filter(sa.or_(*conditions))
@staticmethod