You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2019/09/04 19:15:22 UTC
[allura] 17/17: [#8325] work with newer pysvn versions
This is an automated email from the ASF dual-hosted git repository.
kentontaylor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
commit 0cbb63480b8073a13ad0c8389d6d937dd05d6ccf
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Wed Aug 21 17:29:08 2019 -0400
[#8325] work with newer pysvn versions
---
ForgeSVN/forgesvn/model/svn.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ForgeSVN/forgesvn/model/svn.py b/ForgeSVN/forgesvn/model/svn.py
index 1ded9e3..0e8a2d0 100644
--- a/ForgeSVN/forgesvn/model/svn.py
+++ b/ForgeSVN/forgesvn/model/svn.py
@@ -537,8 +537,7 @@ class SVNImplementation(M.RepositoryImplementation):
size = None
if path:
try:
- size = int(
- self._svn.list(url, revision=rev, peg_revision=rev)[0][0].size)
+ size = self._svn.list(url, revision=rev, peg_revision=rev)[0][0].size
except pysvn.ClientError:
pass
rename_details = {}