You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2012/09/26 18:19:46 UTC

[5/9] git commit: [#2809] Removed unneeded call to _setup_hooks in refresh-all-repos.py

[#2809] Removed unneeded call to _setup_hooks in refresh-all-repos.py

Signed-off-by: Cory Johns <jo...@geek.net>


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

Branch: refs/heads/master
Commit: 6a72dbe8e43bbe14fdb703de9234ca2a098f1074
Parents: 4f86a7f
Author: Cory Johns <jo...@geek.net>
Authored: Fri Sep 21 13:52:11 2012 +0000
Committer: Dave Brondsema <db...@geek.net>
Committed: Wed Sep 26 16:18:57 2012 +0000

----------------------------------------------------------------------
 scripts/refresh-all-repos.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/6a72dbe8/scripts/refresh-all-repos.py
----------------------------------------------------------------------
diff --git a/scripts/refresh-all-repos.py b/scripts/refresh-all-repos.py
index cb71723..822148f 100644
--- a/scripts/refresh-all-repos.py
+++ b/scripts/refresh-all-repos.py
@@ -52,10 +52,6 @@ def main(options):
                     log.info("Skipping %r: wrong type (%s)", c.app.repo,
                             c.app.repo.tool.lower())
                     continue
-                try:
-                    c.app.repo._impl._setup_hooks()
-                except:
-                    log.exception('Error setting up hooks for %r', c.app.repo)
 
                 if options.clean:
                     ci_ids = list(c.app.repo.all_commit_ids())