Author: gilbert-guest Date: 2009-08-29 18:34:40 +0000 (Sat, 29 Aug 2009) New Revision: 12706 Modified: bin/inject-embedded-code-copies Log: inject-embedded-code-copies: fix last cve in list getting ommited, and remove dead code Modified: bin/inject-embedded-code-copies ==================================================================--- bin/inject-embedded-code-copies 2009-08-29 16:33:49 UTC (rev 12705) +++ bin/inject-embedded-code-copies 2009-08-29 18:34:40 UTC (rev 12706) @@ -112,10 +112,10 @@ ftemp.write( line ) lines = [] - nlines = 0 - line = fcve.readline() fcve.close() +for n in range( 0 , len( lines ) ): + ftemp.write( lines[n] ) ftemp.close() if changed: