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 @@ -300,7 +300,7 @@ def _load_binarycache(self):
300300 try :
301301 self ._read_binarycache (self ._prv_path )
302302 self ._no_prv = True
303- except ( ValueError , FileNotFoundError ) :
303+ except :
304304 # This will raise either ValueError or FileNotFoundError to be trapped and
305305 # handled by calling function
306306 self ._read_binarycache (self ._generate_binaryfile_name (self ._prv_path ))
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ def _parse_summary_file(filename):
225225
226226 tracemetadata = TraceMetadata .unpack_dataframe (file_metadata )
227227 statistics = hdfstore [Trace ._statisticskey ]
228- except ValueError :
228+ except :
229229 raise WrongLoaderError ('"{}" is not a PyPOP summary file' .format (filename ))
230230
231231 return (tracemetadata , statistics )
You can’t perform that action at this time.
0 commit comments