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 | f421873774cf0b71743afbe5f6677861e66601ea (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /build/plugins/code_generator.py | |
parent | 09f39deb02382f740cd19dee5511ba781fd2f9d5 (diff) | |
download | ydb-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.py | 2 |
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 [] |