allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [allura] 17/17: [#8325] work with newer pysvn versions
Date Wed, 21 Aug 2019 21:41:24 GMT
This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch db/8325
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 58c971a6f43f8183ab8a1060812b55a873d281e3
Author: Dave Brondsema <dave@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 = {}


Mime
View raw message