fbc9179 Fixed incorrect sequence of method calls in tasks.py

1 file Authored by Oleg Fayans 7 years ago, Committed by mbasti 7 years ago,
    Fixed incorrect sequence of method calls in tasks.py
    
    https://fedorahosted.org/freeipa/ticket/6255
    
    Reviewed-By: Martin Basti <mbasti@redhat.com>