>> + def test_exclude_path(self): >> + """Test --exclude-path wks option.""" >> + >> + # For using 'e2ls'. >> + old_path = os.environ['PATH'] >> + os.environ['PATH'] = get_bb_var('PATH', 'core-image-minimal') >> + >> + wks_file = 'temp.wks' >> + ks = open(wks_file, 'w') > > I'd use more pythonic 'with open(wks_file, 'w') as wks:' here.
Done for all three blocks! -- Kristian -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core