mvhub-dev team mailing list archive
-
mvhub-dev team
-
Mailing list archive
-
Message #00552
Re: lp:~himabindu-sanagavarapu/mvhub/ADD_HEADER_TO_MISSING_FILES into lp:~mvhub-commit/mvhub/trunk
781 + if(!(_search_string_in_file($required_keyword, \@first_15_lines)))
In this loop / branch you are opening / reading / writing the file once for each key word.
A brief experiment shows that if only some of the words are present, your script does not add the missing ones.
--
https://code.launchpad.net/~himabindu-sanagavarapu/mvhub/ADD_HEADER_TO_MISSING_FILES/+merge/33944
Your team MVHub Developers is subscribed to branch lp:~mvhub-commit/mvhub/trunk.
References