From commits-return-16902-apmail-allura-commits-archive=allura.apache.org@allura.apache.org Wed Sep 4 19:15:08 2019 Return-Path: X-Original-To: apmail-allura-commits-archive@www.apache.org Delivered-To: apmail-allura-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id D20D4193F5 for ; Wed, 4 Sep 2019 19:15:07 +0000 (UTC) Received: (qmail 78031 invoked by uid 500); 5 Sep 2019 01:05:05 -0000 Delivered-To: apmail-allura-commits-archive@allura.apache.org Received: (qmail 77986 invoked by uid 500); 5 Sep 2019 01:05:05 -0000 Mailing-List: contact commits-help@allura.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@allura.apache.org Delivered-To: mailing list commits@allura.apache.org Received: (qmail 77749 invoked by uid 99); 5 Sep 2019 01:05:05 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2019 01:05:05 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 917E580780; Wed, 4 Sep 2019 19:15:05 +0000 (UTC) Date: Wed, 04 Sep 2019 19:15:22 +0000 To: "commits@allura.apache.org" Subject: [allura] 17/17: [#8325] work with newer pysvn versions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: kentontaylor@apache.org In-Reply-To: <156762450508.1264.4101965118122036097@gitbox.apache.org> References: <156762450508.1264.4101965118122036097@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: allura X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 0cbb63480b8073a13ad0c8389d6d937dd05d6ccf X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20190904191505.917E580780@gitbox.apache.org> 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 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 = {}