Skip to content

Commit 7609bcf

Browse files
committed
appease mypy
1 parent 568cb1c commit 7609bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema_salad/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def make_valid_avro(
562562
if "symbols" in avro:
563563
avro["symbols"] = [avro_field_name(sym) for sym in avro["symbols"]]
564564
return avro
565-
if isinstance(items, MutableSequence):
565+
if items and isinstance(items, MutableSequence):
566566
ret = []
567567
for i in items:
568568
ret.append(

0 commit comments

Comments
 (0)