Skip to content

Commit

Permalink
Update parsedump.py
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewc12 committed Oct 21, 2023
1 parent 6b2a0e1 commit 2066dea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contrib/windows/parsedump/parsedump.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def find_first_existing_file(file_paths):
return None # Return None if no file is found



def read_reg(path: pathlib.Path, hive=winreg.HKEY_LOCAL_MACHINE):
try:
with winreg.OpenKey(hive, str(path.parent)) as key:
Expand All @@ -29,6 +28,7 @@ def read_reg(path: pathlib.Path, hive=winreg.HKEY_LOCAL_MACHINE):
except (OSError, FileNotFoundError):
return None


def find_zfs():
zfs_reg_path = (
pathlib.Path("SOFTWARE")
Expand Down Expand Up @@ -75,7 +75,6 @@ def find_zfs():
symbolstr = "srv*;" + str(zfs / "symbols") + "\\;"



def quote(string):
return '"' + string + '"'

Expand Down

0 comments on commit 2066dea

Please sign in to comment.