Fix python scope bug introduced in last commit.
Fix python scope bug introduced in last commit.

woodymit/millstone_accidental_source,woodymit/millstone_accidental_source,woodymit/millstone,churchlab/millstone,woodymit/millstone,churchlab/millstone,churchlab/millstone,woodymit/millstone_accidental_source,woodymit/millstone_accidental_source,churchlab/millstone,woodymit/millstone,woodymit/millstone