[Notes] [Git][BuildStream/buildstream][master] 2 commits: plugin.py: Stop printing None for fatal-warnings



Title: GitLab

Qinusty pushed to branch master at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • buildstream/plugin.py
    ... ... @@ -508,6 +508,7 @@ class Plugin():
    508 508
                 project = self._get_project()
    
    509 509
     
    
    510 510
                 if project._warning_is_fatal(warning_token):
    
    511
    +                detail = detail if detail else ""
    
    511 512
                     raise PluginError(message="{}\n{}".format(brief, detail), reason=warning_token)
    
    512 513
     
    
    513 514
             self.__message(MessageType.WARN, brief=brief, detail=detail)
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]