chore: fix import from patches.py in script/lib/git.py (#41430)

This commit is contained in:
Milan Burda 2024-02-26 03:36:30 +01:00 committed by GitHub
parent 12d7a8ff66
commit 3394ee71f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,10 @@ import re
import subprocess
import sys
from .patches import PATCH_FILENAME_PREFIX, is_patch_location_line
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.append(SCRIPT_DIR)
from patches import PATCH_FILENAME_PREFIX, is_patch_location_line
UPSTREAM_HEAD='refs/patches/upstream-head'