diff options
author | komandr <komandr@yandex-team.ru> | 2022-02-10 16:51:41 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:51:41 +0300 |
commit | d4833e6d53fab98fa55ca3aca3ac5adf038b2a61 (patch) | |
tree | ab7fbbf3253d4c0e2793218f09378908beb025fb /build/plugins/pybuild.py | |
parent | 80a32d7420bbc0b822d2579923fc306226fdd29a (diff) | |
download | ydb-d4833e6d53fab98fa55ca3aca3ac5adf038b2a61.tar.gz |
Restoring authorship annotation for <komandr@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/plugins/pybuild.py')
-rw-r--r-- | build/plugins/pybuild.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/plugins/pybuild.py b/build/plugins/pybuild.py index 68dc1b4232..f32a2d39a0 100644 --- a/build/plugins/pybuild.py +++ b/build/plugins/pybuild.py @@ -599,9 +599,9 @@ def onpy_main(unit, arg): Documentation: https://wiki.yandex-team.ru/arcadia/python/pysrcs/#modulipyprogrampy3programimakrospymain """ - - arg = arg.replace('/', '.') - + + arg = arg.replace('/', '.') + if ':' not in arg: arg += ':main' |