Skip to content

Commit 48ca292

Browse files
committed
removed redundant check
1 parent 105caaa commit 48ca292

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/cloud/ndb/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2710,7 +2710,7 @@ def _from_datastore(self, ds_entity, value):
27102710
elif root_meaning == _MEANING_COMPRESSED and self._repeated:
27112711
for sub_value in value:
27122712
sub_value.b_val = zlib.decompress(sub_value.b_val)
2713-
elif sub_meanings and isinstance(sub_meanings, list) and self._repeated:
2713+
elif isinstance(sub_meanings, list) and self._repeated:
27142714
for idx, sub_value in enumerate(value):
27152715
try:
27162716
if sub_meanings[idx] == _MEANING_COMPRESSED:

0 commit comments

Comments
 (0)