ed46eba python: Limit the scope of for loop counter

Authored and Committed by nsoffer 4 years ago
    python: Limit the scope of for loop counter
    
    Replace:
    
       int i;
       for (i = 0; ...)
    
    With:
    
       for (int i = 0; ...)
    
    This removes unneeded variable from the function, and limit the scope of
    the counter to the loop.
    
    Signed-off-by: Nir Soffer <nsoffer@redhat.com>
    
        
file modified
+11 -12