Skip to content

Commit

Permalink
Code review: 285800043: Cleanup and bug fixes for SQLite blob #92
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Feb 1, 2016
1 parent 13ba4ff commit a8d3b0c
Show file tree
Hide file tree
Showing 34 changed files with 470 additions and 286 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 (20160131-1) unstable; urgency=low
python-dfvfs (20160201-1) unstable; urgency=low

* Auto-generated

-- Log2Timeline <[email protected]> Sun, 31 Jan 2016 21:41:01 +0100
-- Log2Timeline <[email protected]> Mon, 01 Feb 2016 20:13:19 +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__ = '20160131'
__version__ = '20160201'
8 changes: 4 additions & 4 deletions dfvfs/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def _CheckPythonModule(
return True


def _CheckPytsk():
def _CheckPyTSK():
"""Checks the availability of pytsk.
Returns:
Expand Down Expand Up @@ -341,7 +341,7 @@ def _CheckPytsk():
return True


def _CheckSqlite3():
def _CheckSQLite3():
"""Checks the availability of sqlite3.
Returns:
Expand Down Expand Up @@ -402,10 +402,10 @@ def CheckDependencies(latest_version_check=False):
values[0], values[1], values[2], maximum_version=values[3]):
check_result = False

if not _CheckSqlite3():
if not _CheckSQLite3():
check_result = False

if not _CheckPytsk():
if not _CheckPyTSK():
check_result = False

libyal_check_result = _CheckLibyal(
Expand Down
2 changes: 1 addition & 1 deletion dfvfs/file_io/compressed_stream_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _Open(self, path_spec=None, mode='rb'):
ValueError: if the path specification is invalid.
"""
if not self._file_object_set_in_init and not path_spec:
raise ValueError(u'Missing path specfication.')
raise ValueError(u'Missing path specification.')

if not self._file_object_set_in_init:
if not path_spec.HasParent():
Expand Down
2 changes: 1 addition & 1 deletion dfvfs/file_io/data_range_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _Open(self, path_spec=None, mode='rb'):
ValueError: if the path specification is invalid.
"""
if not self._file_object_set_in_init and not path_spec:
raise ValueError(u'Missing path specfication.')
raise ValueError(u'Missing path specification.')

if not self._file_object_set_in_init:
if not path_spec.HasParent():
Expand Down
2 changes: 1 addition & 1 deletion dfvfs/file_io/encoded_stream_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def _Open(self, path_spec=None, mode='rb'):
ValueError: if the path specification is invalid.
"""
if not self._file_object_set_in_init and not path_spec:
raise ValueError(u'Missing path specfication.')
raise ValueError(u'Missing path specification.')

if not self._file_object_set_in_init:
if not path_spec.HasParent():
Expand Down
2 changes: 1 addition & 1 deletion dfvfs/file_io/encrypted_stream_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def _Open(self, path_spec=None, mode='rb'):
ValueError: if the path specification is invalid.
"""
if not self._file_object_set_in_init and not path_spec:
raise ValueError(u'Missing path specfication.')
raise ValueError(u'Missing path specification.')

if not self._file_object_set_in_init:
if not path_spec.HasParent():
Expand Down
2 changes: 1 addition & 1 deletion dfvfs/file_io/fake_file_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _Open(self, path_spec=None, mode='rb'):
ValueError: if the path specification is invalid.
"""
if not path_spec:
raise ValueError(u'Missing path specfication.')
raise ValueError(u'Missing path specification.')

if path_spec.HasParent():
raise errors.PathSpecError(u'Unsupported path specification with parent.')
Expand Down
2 changes: 1 addition & 1 deletion dfvfs/file_io/file_object_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def _Open(self, path_spec=None, mode='rb'):
ValueError: if the path specification is invalid.
"""
if not self._file_object_set_in_init and not path_spec:
raise ValueError(u'Missing path specfication.')
raise ValueError(u'Missing path specification.')

if self._file_object_set_in_init:
return
Expand Down
2 changes: 1 addition & 1 deletion dfvfs/file_io/ntfs_file_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _Open(self, path_spec=None, mode='rb'):
ValueError: if the path specification is invalid.
"""
if not path_spec:
raise ValueError(u'Missing path specfication.')
raise ValueError(u'Missing path specification.')

data_stream = getattr(path_spec, u'data_stream', None)

Expand Down
2 changes: 1 addition & 1 deletion dfvfs/file_io/os_file_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _Open(self, path_spec=None, mode='rb'):
ValueError: if the path specification is invalid.
"""
if not path_spec:
raise ValueError(u'Missing path specfication.')
raise ValueError(u'Missing path specification.')

if path_spec.HasParent():
raise errors.PathSpecError(u'Unsupported path specification with parent.')
Expand Down
Loading

0 comments on commit a8d3b0c

Please sign in to comment.