code: def _check_journals_and_maybe_raise(self):
          '''Check if any journal files exist and raise an error.'''
          files = list(glob.glob(self._prefix_filename + '*-wpullinc'))
  
          if files:
              raise OSError('WARC file {} is incomplete.'.format(files[0])f _check_journals_and_maybe_raise(self):
          '''Check if any journal files exist and raise an error.'''
          files = list(glob.glob(self._prefix_filename + '*-wpullinc'))
  
          if files:
              raise OSError('WARC file {} is incomplete.'.format(files[0]))
docs: Check if any journal files exist and raise an error.