Skip to content

Commit e7aa1f7

Browse files
authored
Merge pull request #2149 from midichef/xml_futurewarning
[xml] silence FutureWarning from lxml
2 parents 1618aed + 66f5298 commit e7aa1f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visidata/modify.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def _deferredDels(sheet):
4848

4949
Sheet.colorizers += [
5050
RowColorizer(9, 'color_add_pending', lambda s,c,r,v: s.rowid(r) in s._deferredAdds),
51-
CellColorizer(8, 'color_change_pending', lambda s,c,r,v: c and r and s.isChanged(c, r)),
51+
CellColorizer(8, 'color_change_pending', lambda s,c,r,v: c and (r is not None) and s.isChanged(c, r)),
5252
RowColorizer(9, 'color_delete_pending', lambda s,c,r,v: s.isDeleted(r)),
5353
]
5454

0 commit comments

Comments
 (0)