diff options
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() |