code: added more logging, and some notes
This commit is contained in:
parent
6d2a154667
commit
64b98245ef
4 changed files with 13 additions and 9 deletions
|
|
@ -52,9 +52,11 @@ def pylons_compatibility_tween_factory(handler, registry):
|
|||
request.environ, request.registry.settings.get('vcs.backends'))
|
||||
|
||||
if vcs_handler:
|
||||
# save detected VCS type for later re-use
|
||||
request.environ[VCS_TYPE_KEY] = vcs_handler.SCM
|
||||
return handler(request)
|
||||
|
||||
# mark that we didn't detect an VCS, and we can skip detection later on
|
||||
request.environ[VCS_TYPE_KEY] = VCS_TYPE_SKIP
|
||||
|
||||
# Setup pylons globals.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue