a56078f Drop Python 2 support, use f-strings, drop Python 2 workarounds

Authored and Committed by adamwill 4 years ago
    Drop Python 2 support, use f-strings, drop Python 2 workarounds
    
    This officially drops Python 2 support, because I'm kinda done
    with dealing with Python 2. I'll try doing Python 3 builds for
    EPEL 7, if that doesn't work, I'll do branch releases from
    before this commit if I need to update EPEL 7 in future. This
    lets us import mock from unittest, drop __future__ imports, use
    f-strings everywhere (hope I got this conversion right...) and
    drop an annoying workaround for datetime.timestamp() not being
    in Python 2.x. Yay!
    
    Signed-off-by: Adam Williamson <awilliam@redhat.com>
    
        
file modified
+3 -3
file modified
+0 -3
file modified
+11 -20
file modified
+0 -3
file modified
+5 -8
file modified
+23 -47
file modified
+39 -59
file modified
+2 -7
file modified
+1 -8
file modified
+18 -19
file modified
+0 -1
file modified
+2 -2
file modified
+2 -7
file modified
+4 -4
file modified
+3 -8
file modified
+2 -7
file modified
+2 -7
file modified
+1 -3
file modified
+2 -7
file modified
+1 -1