Remove the filenames from the intermediate format prefix search, to improve the documentation.

This commit is contained in:
Mike Auty
2016-12-26 23:50:16 +00:00
parent bab71d4358
commit 9666e34603
+3 -2
View File
@@ -100,8 +100,9 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface):
priority = 30
# Make sure uncompressed/outside-framework takes precedence, so users can overload.
prefixes = [os.path.join(os.path.dirname(__file__), "..", "..", "symbols", "windows"),
os.path.join(os.path.dirname(__file__), "..", "symbols", "windows")]
prefixes = [os.path.join("..", "..", "..", "symbols", "windows"),
os.path.join("..", "..", "symbols", "windows")]
"""Provides a list of prefixes that are searched when locating Intermediate Format data files"""
suffixes = ['.json', '.json.xz']
def __init__(self):