Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code review: 279550043: Fixes to handle HFS forks.
Browse files Browse the repository at this point in the history
joachimmetz committed Dec 26, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent a1d3766 commit f184701
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config/dpkg/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
python-dfvfs (20151216-1) unstable; urgency=low
python-dfvfs (20151226-1) unstable; urgency=low

* Auto-generated

-- Log2Timeline <[email protected]> Wed, 16 Dec 2015 21:40:49 +0100
-- Log2Timeline <[email protected]> Sat, 26 Dec 2015 15:41:22 +0100
2 changes: 1 addition & 1 deletion dfvfs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-

__version__ = '20151216'
__version__ = '20151226'
6 changes: 4 additions & 2 deletions dfvfs/file_io/tsk_file_io.py
Original file line number Diff line number Diff line change
@@ -103,8 +103,10 @@ def _Open(self, path_spec=None, mode='rb'):

attribute_name = getattr(attribute.info, u'name', u'')
attribute_type = getattr(attribute.info, u'type', None)
if (attribute_name == data_stream and
attribute_type == pytsk3.TSK_FS_ATTR_TYPE_NTFS_DATA):
if attribute_name == data_stream and attribute_type in (
pytsk3.TSK_FS_ATTR_TYPE_HFS_DEFAULT,
pytsk3.TSK_FS_ATTR_TYPE_HFS_DATA,
pytsk3.TSK_FS_ATTR_TYPE_NTFS_DATA):
tsk_attribute = attribute
break

0 comments on commit f184701

Please sign in to comment.