You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by tv...@apache.org on 2013/08/28 18:56:41 UTC
[2/2] git commit: [#6457] Save result of mount_point validation
[#6457] Save result of mount_point validation
- Allows validator to return an alternate mount_point if the one
passed in is already in use.
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/04851fa4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/04851fa4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/04851fa4
Branch: refs/heads/tv/6457
Commit: 04851fa4c7e29e5a76b116ec530554a2ed393dad
Parents: fc6a664
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Wed Aug 28 16:56:26 2013 +0000
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Wed Aug 28 16:56:26 2013 +0000
----------------------------------------------------------------------
ForgeImporters/forgeimporters/google/code.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/04851fa4/ForgeImporters/forgeimporters/google/code.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/google/code.py b/ForgeImporters/forgeimporters/google/code.py
index 60a0158..ed2519f 100644
--- a/ForgeImporters/forgeimporters/google/code.py
+++ b/ForgeImporters/forgeimporters/google/code.py
@@ -109,7 +109,7 @@ class GoogleRepoImportForm(fe.schema.Schema):
raise
tool_class = REPO_APPS[repo_type]
try:
- v.MountPointValidator(tool_class).to_python(mount_point)
+ value['mount_point'] = v.MountPointValidator(tool_class).to_python(mount_point)
except fe.Invalid as e:
raise fe.Invalid('mount_point:' + str(e), value, state)
return value