You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/07/17 23:17:17 UTC
[2/9] git commit: [#6355] Try repo path with extension stripped off
[#6355] Try repo path with extension stripped off
Signed-off-by: Tim Van Steenburgh <tv...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/6d18b9ff
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/6d18b9ff
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/6d18b9ff
Branch: refs/heads/cj/6456
Commit: 6d18b9ffe788b2feaddd7e1dee79c6903a03807b
Parents: dbfa5af
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Mon Jul 15 21:55:24 2013 +0000
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Mon Jul 15 21:55:24 2013 +0000
----------------------------------------------------------------------
Allura/allura/controllers/auth.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/6d18b9ff/Allura/allura/controllers/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/auth.py b/Allura/allura/controllers/auth.py
index 4e197e6..4c1ee37 100644
--- a/Allura/allura/controllers/auth.py
+++ b/Allura/allura/controllers/auth.py
@@ -312,7 +312,7 @@ class AuthController(BaseController):
c.project = project
c.app = project.app_instance(rest[0])
if not c.app:
- c.app = project.app_instance(rest[0])[0]
+ c.app = project.app_instance(os.path.splitext(rest[0])[0])
if c.app is None:
log.info("Can't find repo at %s on repo_path %s",
rest[0], repo_path)