9b86c50 Don't use datetime timestamp() as it's not in Python 2

1 file Authored by adamwill 4 years ago, Committed by tkopecek 4 years ago,
    Don't use datetime timestamp() as it's not in Python 2
    
    The `timestamp()` method for `datetime.datetime` instances was
    only added in Python 3. It does not exist in Python 2. So we
    can't safely use it here.
    
    I believe this should do the right thing, taking advantage of a
    couple of existing utility functions in koji.util.
    
    Signed-off-by: Adam Williamson <awilliam@redhat.com>
    
        
file modified
+2 -1