chore: fix import from patches.py in script/lib/git.py (#41430)
This commit is contained in:
parent
12d7a8ff66
commit
3394ee71f0
1 changed files with 4 additions and 1 deletions
|
@ -13,7 +13,10 @@ import re
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
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'
|
UPSTREAM_HEAD='refs/patches/upstream-head'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue