msc: Fix pyflakes warnings
update: Fix pyflakes warnings