aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/svn_version/__svn_version.pyx
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:15 +0300
commit72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch)
treeda2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/python/svn_version/__svn_version.pyx
parent778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff)
downloadydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/python/svn_version/__svn_version.pyx')
-rw-r--r--library/python/svn_version/__svn_version.pyx14
1 files changed, 7 insertions, 7 deletions
diff --git a/library/python/svn_version/__svn_version.pyx b/library/python/svn_version/__svn_version.pyx
index d66bc09d24..c008105148 100644
--- a/library/python/svn_version/__svn_version.pyx
+++ b/library/python/svn_version/__svn_version.pyx
@@ -1,7 +1,7 @@
-import future.utils as fu
-
+import future.utils as fu
+
cdef extern from "library/cpp/svnversion/svnversion.h":
- cdef const char* GetProgramSvnVersion() except +;
+ cdef const char* GetProgramSvnVersion() except +;
cdef int GetProgramSvnRevision() except +;
cdef int GetArcadiaLastChangeNum() except +;
cdef const char* GetProgramCommitId() except +;
@@ -9,10 +9,10 @@ cdef extern from "library/cpp/svnversion/svnversion.h":
cdef const char* GetBranch() except +;
cdef const char* GetTag() except +;
cdef int GetArcadiaPatchNumber() except +;
-
-def svn_version():
- return fu.bytes_to_native_str(GetProgramSvnVersion())
-
+
+def svn_version():
+ return fu.bytes_to_native_str(GetProgramSvnVersion())
+
def svn_revision():
return GetProgramSvnRevision()