diff options
author | sidorovaa <sidorovaa@yandex-team.ru> | 2022-02-10 16:47:53 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:53 +0300 |
commit | 09f39deb02382f740cd19dee5511ba781fd2f9d5 (patch) | |
tree | 19f064d2f5a2aa9c2fb80049de4eec87c721a503 /build/plugins/code_generator.py | |
parent | b05913d1c3c02a773578bceb7285084d2933ae86 (diff) | |
download | ydb-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.py | 2 |
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 [] |