f47eb42 python: fix exception caused by default msg value

1 file Authored by frostyx 2 years ago, Committed by praiskup 2 years ago,
    python: fix exception caused by default msg value
    
    This is a small fixup after PR#2024. If an exception is raised simply
    with `copr.v3.CoprRequestException()` we get another exception when
    trying to get its string representation:
    
        self = CoprRequestException(None)
    
            def __str__(self):
        >       errors = self.result.error.split("\n")
        E       AttributeError: 'NoneType' object has no attribute 'split'
    
    Merges: #2030
    
        
file modified
+1 -0