fix: directly assign return value (#23007)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
9b112b3e03
commit
6418320d61
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ class DocType(Document):
|
|||
|
||||
self.flags.update_fields_to_fetch_queries = []
|
||||
|
||||
new_fields_to_fetch = [df for df in new_meta.get_fields_to_fetch()]
|
||||
new_fields_to_fetch = new_meta.get_fields_to_fetch()
|
||||
|
||||
if set(old_fields_to_fetch) != {df.fieldname for df in new_fields_to_fetch}:
|
||||
for df in new_fields_to_fetch:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue