mirror of
https://github.com/mandiant/capa.git
synced 2025-12-23 07:28:34 -08:00
Changes os.path to pathlib.Path usage
changed args.rules , args.signatures types in handle_common_args.
This commit is contained in:
@@ -46,14 +46,14 @@ import io
|
||||
import sys
|
||||
import inspect
|
||||
import logging
|
||||
import os.path
|
||||
import binascii
|
||||
import traceback
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
try:
|
||||
sys.path.append(os.path.dirname(__file__))
|
||||
sys.path.append(str(Path(__file__).parent))
|
||||
import fixtures
|
||||
from fixtures import *
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user