[Notes] [Git][BuildStream/buildstream][Qinusty/message-helpers] _stream.py|_scheduler/queues/queue.py: Fix pylint issues



Title: GitLab

Tristan Maat pushed to branch Qinusty/message-helpers at BuildStream / buildstream

Commits:

2 changed files:

Changes:

  • buildstream/_scheduler/queues/queue.py
    ... ... @@ -279,7 +279,7 @@ class Queue():
    279 279
                         self._context.error("Error saving workspaces",
    
    280 280
                                             detail=str(e),
    
    281 281
                                             plugin=element)
    
    282
    -                except Exception as e: #pylint: disable=broad-except
    
    282
    +                except Exception as e:  # pylint: disable=broad-except
    
    283 283
                         self._context.message("Unhandled exception while saving workspaces",
    
    284 284
                                               msg_type=MessageType.BUG,
    
    285 285
                                               detail=traceback.format_exc(),
    

  • buildstream/_stream.py
    ... ... @@ -1012,7 +1012,7 @@ class Stream():
    1012 1012
             except BstError as e:
    
    1013 1013
                 self._context.error("Error resolving final state", detail=e)
    
    1014 1014
                 set_last_task_error(e.domain, e.reason)
    
    1015
    -        except Exception as e: # pylint: disable=broad-except
    
    1015
    +        except Exception as e:  # pylint: disable=broad-except
    
    1016 1016
                 self._context.message("Unhandled exception while resolving final state",
    
    1017 1017
                                       detail=traceback.format_exc())
    
    1018 1018
     
    



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