Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions dfvfs/file_io/apm_file_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ def _Open(self, mode='rb'):
self._path_spec, resolver_context=self._resolver_context)
vsapm_volume = self._file_system.GetAPMVolume()

if 0 < entry_index or entry_index >= vsapm_volume.number_of_partitions:
raise errors.PathSpecError(
f'Missing APM partition with entry index: {entry_index:d}')

self._vsapm_partition = vsapm_volume.get_partition(entry_index)

# Note that using pass-through IO in Python is faster than using
Expand Down
Loading