Return-Path: X-Original-To: apmail-incubator-allura-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-allura-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92E7D1016E for ; Wed, 21 Aug 2013 20:12:28 +0000 (UTC) Received: (qmail 70715 invoked by uid 500); 21 Aug 2013 20:12:24 -0000 Delivered-To: apmail-incubator-allura-commits-archive@incubator.apache.org Received: (qmail 70090 invoked by uid 500); 21 Aug 2013 20:12:22 -0000 Mailing-List: contact allura-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: allura-dev@incubator.apache.org Delivered-To: mailing list allura-commits@incubator.apache.org Received: (qmail 69478 invoked by uid 99); 21 Aug 2013 20:12:18 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Aug 2013 20:12:18 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 8F1428C1EE3; Wed, 21 Aug 2013 20:12:18 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: brondsem@apache.org To: allura-commits@incubator.apache.org Date: Wed, 21 Aug 2013 20:12:51 -0000 Message-Id: In-Reply-To: <5e9ac297178240c4945d759d2ccda9db@git.apache.org> References: <5e9ac297178240c4945d759d2ccda9db@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [35/50] git commit: [#3154] ticket:411 removed try near zip_and_cleanup [#3154] ticket:411 removed try near zip_and_cleanup Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/4d58de2d Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/4d58de2d Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/4d58de2d Branch: refs/heads/db/3154b Commit: 4d58de2d828bfb069e02c5c21086622d60ea611c Parents: 9e5c29a Author: Anton Kasyanov Authored: Tue Aug 13 15:51:39 2013 +0300 Committer: Dave Brondsema Committed: Wed Aug 21 18:12:27 2013 +0000 ---------------------------------------------------------------------- Allura/allura/tasks/export_tasks.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/4d58de2d/Allura/allura/tasks/export_tasks.py ---------------------------------------------------------------------- diff --git a/Allura/allura/tasks/export_tasks.py b/Allura/allura/tasks/export_tasks.py index 0eb99e0..3e2a9af 100644 --- a/Allura/allura/tasks/export_tasks.py +++ b/Allura/allura/tasks/export_tasks.py @@ -72,10 +72,9 @@ def bulk_export(project_shortname, tools, username, neighborhood): except: log.error('Something went wrong during export of project metadata', exc_info=True) - try: - zip_and_cleanup(project) - except: - log.error('Something went wrong during zipping exported data.', exc_info=True) + # If that fails, we need to let it fail + # there won't be a valid zip file for the user to get. + zip_and_cleanup(project) user = M.User.by_username(username) if not user: