incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [4/6] git commit: [#6905] ticket:503 removed unused debug output
Date Thu, 09 Jan 2014 17:55:14 GMT
[#6905] ticket:503 removed unused debug output


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/6b531869
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/6b531869
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/6b531869

Branch: refs/heads/tv/6905
Commit: 6b5318697f0f48585300e8fbf1b8df13c42b8069
Parents: dd3c008
Author: Mykola Kharechko <crchemist@gmail.com>
Authored: Wed Jan 8 11:58:43 2014 +0200
Committer: Mykola Kharechko <crchemist@gmail.com>
Committed: Wed Jan 8 12:09:36 2014 +0200

----------------------------------------------------------------------
 Allura/allura/tasks/repo_tasks.py         | 3 ++-
 Allura/allura/templates/repo/tarball.html | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/6b531869/Allura/allura/tasks/repo_tasks.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tasks/repo_tasks.py b/Allura/allura/tasks/repo_tasks.py
index 0354eb9..ab0a430 100644
--- a/Allura/allura/tasks/repo_tasks.py
+++ b/Allura/allura/tasks/repo_tasks.py
@@ -132,7 +132,8 @@ def tarball(revision=None, path=None):
         else:
             try:
                 repo.tarball(revision, path)
-            finally:
+            except:
                 log.error('Could not create snapshot for repository: %s:%s revision %s path
%s' % (c.project.shortname, c.app.config.options.mount_point, revision, path), exc_info=True)
+                raise
     else:
         log.warn('Skipped creation of snapshot: %s:%s because revision is not specified'
% (c.project.shortname, c.app.config.options.mount_point))

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/6b531869/Allura/allura/templates/repo/tarball.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/repo/tarball.html b/Allura/allura/templates/repo/tarball.html
index 3f0581c..05d9386 100644
--- a/Allura/allura/templates/repo/tarball.html
+++ b/Allura/allura/templates/repo/tarball.html
@@ -56,7 +56,6 @@ Commit <a href="{{commit.url()}}">{{commit.shorthand_id()}}</a>
{{commit_labels(
         var delay = 500;
         function check_status() {
             $.get('{{commit.url()}}tarball_status?path={{path}}', function(data) {
-                console.log(data)
                 if (data.status === 'complete') {
                     spinner.stop();
                     $('#snapshot_status h2').hide();


Mime
View raw message