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
commit09f39deb02382f740cd19dee5511ba781fd2f9d5 (patch)
tree19f064d2f5a2aa9c2fb80049de4eec87c721a503 /build/plugins/code_generator.py
parentb05913d1c3c02a773578bceb7285084d2933ae86 (diff)
downloadydb-09f39deb02382f740cd19dee5511ba781fd2f9d5.tar.gz
Restoring authorship annotation for <sidorovaa@yandex-team.ru>. Commit 1 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 ca8bb18c15..67fc71ab7a 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 []