aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins/code_generator.py
diff options
context:
space:
mode:
authorsidorovaa <sidorovaa@yandex-team.ru>2022-02-10 16:47:53 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:53 +0300
commitf421873774cf0b71743afbe5f6677861e66601ea (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /build/plugins/code_generator.py
parent09f39deb02382f740cd19dee5511ba781fd2f9d5 (diff)
downloadydb-f421873774cf0b71743afbe5f6677861e66601ea.tar.gz
Restoring authorship annotation for <sidorovaa@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/plugins/code_generator.py')
-rw-r--r--build/plugins/code_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/plugins/code_generator.py b/build/plugins/code_generator.py
index 67fc71ab7ad..ca8bb18c156 100644
--- a/build/plugins/code_generator.py
+++ b/build/plugins/code_generator.py
@@ -9,7 +9,7 @@ pattern = re.compile(r"#include\s*[<\"](?P<INDUCED>[^>\"]+)[>\"]|(?:@|{@)\s*(?:i
class CodeGeneratorTemplateParser(object):
def __init__(self, path, unit):
self._path = path
- retargeted = os.path.join(unit.path(), os.path.relpath(path, unit.resolve(unit.path())))
+ retargeted = os.path.join(unit.path(), os.path.relpath(path, unit.resolve(unit.path())))
with open(path, 'rb') as f:
includes, induced = CodeGeneratorTemplateParser.parse_includes(f.readlines())
self._includes = unit.resolve_include([retargeted] + includes) if includes else []