Skip to content
  • Iustin Pop's avatar
    bdev: Add a TODO and a pylint silence · 527a15ac
    Iustin Pop authored
    
    
    A piece of old code in bdev.py uses a for loop over a single variable
    because we can 'break' out of the loop or exit on the 'else' path. This
    is not a nice usage of the for loop, it should be converted to a
    standard if...elif...else structure.
    
    In the meantime we silence a warning from pylint (it is actually
    invalid, IMHO) and add a TODO.
    
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarOlivier Tharan <olive@google.com>
    527a15ac