File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def pip_process(
4747 parsed = BytesHeaderParser ().parsebytes (output )
4848 try :
4949 return json .loads (str (parsed ))
50- except Exception as e :
50+ except Exception :
5151 logger .debug (
5252 f"json parse exception in decoding output from pip { action } { package } . Falling back to accumulating the byte stream" , # noqa
5353 )
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ def parsebytes(self, *args):
139139 call ("running pip show pip" ),
140140 call ("decoding output from pip show pip" ),
141141 call (
142- "json parse exception in decoding output from pip show pip. Falling back to accumulating the byte stream"
142+ "json parse exception in decoding output from pip show pip. Falling back to accumulating the byte stream" # noqa
143143 ),
144144 ]
145145 mock_logger_debug .assert_has_calls (debug_calls )
You can’t perform that action at this time.
0 commit comments