diff options
author | dvshkurko <dvshkurko@yandex-team.ru> | 2022-02-10 16:45:52 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:52 +0300 |
commit | c768a99151e47c3a4bb7b92c514d256abd301c4d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/python/svn_version/__svn_version.pyx | |
parent | 321ee9bce31ec6e238be26dbcbe539cffa2c3309 (diff) | |
download | ydb-c768a99151e47c3a4bb7b92c514d256abd301c4d.tar.gz |
Restoring authorship annotation for <dvshkurko@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/python/svn_version/__svn_version.pyx')
-rw-r--r-- | library/python/svn_version/__svn_version.pyx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/library/python/svn_version/__svn_version.pyx b/library/python/svn_version/__svn_version.pyx index 4be75f808d..d66bc09d24 100644 --- a/library/python/svn_version/__svn_version.pyx +++ b/library/python/svn_version/__svn_version.pyx @@ -3,12 +3,12 @@ import future.utils as fu cdef extern from "library/cpp/svnversion/svnversion.h": cdef const char* GetProgramSvnVersion() except +; cdef int GetProgramSvnRevision() except +; - cdef int GetArcadiaLastChangeNum() except +; - cdef const char* GetProgramCommitId() except +; + cdef int GetArcadiaLastChangeNum() except +; + cdef const char* GetProgramCommitId() except +; cdef const char* GetProgramHash() except +; cdef const char* GetBranch() except +; cdef const char* GetTag() except +; - cdef int GetArcadiaPatchNumber() except +; + cdef int GetArcadiaPatchNumber() except +; def svn_version(): return fu.bytes_to_native_str(GetProgramSvnVersion()) @@ -16,12 +16,12 @@ def svn_version(): def svn_revision(): return GetProgramSvnRevision() -def svn_last_revision(): - return GetArcadiaLastChangeNum() - -def commit_id(): - return fu.bytes_to_native_str(GetProgramCommitId()) - +def svn_last_revision(): + return GetArcadiaLastChangeNum() + +def commit_id(): + return fu.bytes_to_native_str(GetProgramCommitId()) + def hash(): return fu.bytes_to_native_str(GetProgramHash()) @@ -30,6 +30,6 @@ def svn_branch(): def svn_tag(): return fu.bytes_to_native_str(GetTag()) - -def patch_number(): - return GetArcadiaPatchNumber() + +def patch_number(): + return GetArcadiaPatchNumber() |