diff options
author | ignat <ignat@yandex-team.ru> | 2022-02-10 16:48:20 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:20 +0300 |
commit | c8b279dd21ddcb47e755028d81281f113a0f4a11 (patch) | |
tree | 59384fcb7e8e0566cac1ed9738ab30f0b2559b58 /build/plugins/pybuild.py | |
parent | 2096e85a73bb6b3b20ae25a92943992717fe4167 (diff) | |
download | ydb-c8b279dd21ddcb47e755028d81281f113a0f4a11.tar.gz |
Restoring authorship annotation for <ignat@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'build/plugins/pybuild.py')
-rw-r--r-- | build/plugins/pybuild.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/plugins/pybuild.py b/build/plugins/pybuild.py index f32a2d39a0..3913a456be 100644 --- a/build/plugins/pybuild.py +++ b/build/plugins/pybuild.py @@ -209,10 +209,10 @@ def onpy_srcs(unit, *args): if unit_needs_main: py_program(unit, py3) - py_namespace_value = unit.get('PY_NAMESPACE_VALUE') - if py_namespace_value == ".": - ns = "" - else: + py_namespace_value = unit.get('PY_NAMESPACE_VALUE') + if py_namespace_value == ".": + ns = "" + else: ns = (unit.get('PY_NAMESPACE_VALUE') or upath.replace('/', '.')) + '.' cython_coverage = unit.get('CYTHON_COVERAGE') == 'yes' |