Skip to content

Commit

Permalink
Clean up of REGFWinRegistryFile
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Mar 1, 2024
1 parent c31e081 commit 069d3ac
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions config/dpkg/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dfwinreg (20240229-1) unstable; urgency=low
dfwinreg (20240301-1) unstable; urgency=low

* Auto-generated

-- Log2Timeline maintainers <[email protected]> Thu, 29 Feb 2024 19:21:02 +0100
-- Log2Timeline maintainers <[email protected]> Fri, 01 Mar 2024 10:40:04 +0100
2 changes: 1 addition & 1 deletion dfwinreg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
provides read-only access to Windows Registry objects.
"""

__version__ = '20240229'
__version__ = '20240301'
7 changes: 2 additions & 5 deletions dfwinreg/regf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,16 @@ class REGFWinRegistryFile(interface.WinRegistryFile):
"""Implementation of a Windows Registry file using pyregf."""

def __init__(
self, ascii_codepage='cp1252', emulate_virtual_keys=False,
key_path_prefix=''):
self, ascii_codepage='cp1252', key_path_prefix=''):
"""Initializes the Windows Registry file.
Args:
ascii_codepage (Optional[str]): ASCII string codepage.
emulate_virtual_keys (Optional[bool]): True if virtual keys should be
emulated.
key_path_prefix (Optional[str]): Windows Registry key path prefix.
"""
super(REGFWinRegistryFile, self).__init__(
ascii_codepage=ascii_codepage, key_path_prefix=key_path_prefix)
self._emulate_virtual_keys = emulate_virtual_keys
self._emulate_virtual_keys = False
self._key_helper = REGFWinRegistryKeyHelper()
self._file_object = None
self._regf_file = pyregf.file()
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = dfwinreg
version = 20240229
version = 20240301
description = Digital Forensics Windows Registry (dfWinReg).
long_description = dfWinReg, or Digital Forensics Windows Registry, provides read-only access to Windows Registry objects. The goal of dfWinReg is to provide a generic interface for accessing Windows Registry objects that resembles the Registry key hierarchy as seen on a live Windows system.
long_description_content_type = text/plain
Expand Down

0 comments on commit 069d3ac

Please sign in to comment.