diff --git a/rhodecode/config/hook_templates/git_post_receive.py.tmpl b/rhodecode/config/hook_templates/git_post_receive.py.tmpl --- a/rhodecode/config/hook_templates/git_post_receive.py.tmpl +++ b/rhodecode/config/hook_templates/git_post_receive.py.tmpl @@ -16,7 +16,7 @@ RC_HOOK_VER = '_TMPL_' def main(): if hooks is None: - # exit with success if we cannot import rhodecode.lib.hooks !! + # exit with success if we cannot import vcsserver.hooks !! # this allows simply push to this repo even without rhodecode sys.exit(0) diff --git a/rhodecode/config/hook_templates/git_pre_receive.py.tmpl b/rhodecode/config/hook_templates/git_pre_receive.py.tmpl --- a/rhodecode/config/hook_templates/git_pre_receive.py.tmpl +++ b/rhodecode/config/hook_templates/git_pre_receive.py.tmpl @@ -16,7 +16,7 @@ RC_HOOK_VER = '_TMPL_' def main(): if hooks is None: - # exit with success if we cannot import rhodecode.lib.hooks !! + # exit with success if we cannot import vcsserver.hooks !! # this allows simply push to this repo even without rhodecode sys.exit(0)