incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject git commit: [#6102] update repo_clone_task_failed event to match related changes in aff89824
Date Mon, 15 Apr 2013 23:48:35 GMT
Updated Branches:
  refs/heads/master 19585988b -> 11c9c489e


[#6102] update repo_clone_task_failed event to match related changes in aff89824


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

Branch: refs/heads/master
Commit: 11c9c489eefbd0a0bda423ecbc43bf391ee3dd56
Parents: 1958598
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Fri Apr 12 20:34:11 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Mon Apr 15 23:48:05 2013 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/11c9c489/Allura/allura/tasks/repo_tasks.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tasks/repo_tasks.py b/Allura/allura/tasks/repo_tasks.py
index 03ce1f2..505786f 100644
--- a/Allura/allura/tasks/repo_tasks.py
+++ b/Allura/allura/tasks/repo_tasks.py
@@ -100,8 +100,7 @@ def reclone_repo(*args, **kwargs):
             text='Repository %s/%s created' % (
                 c.project.shortname, c.app.config.options.mount_point))
     except Exception, e:
-        source_url = source_path or source_url
-        g.post_event('repo_clone_task_failed', source_url, traceback.format_exc())
+        g.post_event('repo_clone_task_failed', source_url, source_path, traceback.format_exc())
 
 @task
 def tarball(revision=None):


Mime
View raw message