3490c8c Ticket 47788 - Only check postop result if its a replication operation

1 file Authored by mreynolds 8 years ago, Committed by nhosoi 8 years ago,
    Ticket 47788 - Only check postop result if its a replication operation
    
    Bug Description:  With IPA tests, without using replication, an error is
                      being triggered that is stoipping nomral updates from
                      going through.
    
    Fix Description:  Move the error checking up into the code block above
                      which only executes for replicated operations.
    
    https://fedorahosted.org/389/ticket/47788
    
    Reviewed by: nhosoi & tbordaz(Thanks!!)
    
    (cherry picked from commit d7b598da2eff95070936bf7c3e01bcd11c44ed60)
    (cherry picked from commit 8817a13b74a503b35ce10e0868ebb0834a9a2696)
    (cherry picked from commit e122758c186a8ae915ef28a769b2acdad33d7645)