2f5f83e Fix some issues caught by pylint

Authored and Committed by adamwill 5 years ago
    Fix some issues caught by pylint
    
    In particular, ValueError isn't subscriptable in Python 3 - that
    was a real bug. The rest are just for style really.
    
    Signed-off-by: Adam Williamson <awilliam@redhat.com>
    
        
file modified
+4 -4