allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [08/45] git commit: [#6956] Fixed silent nbhd error on import for neighborhoods with spaces in the name
Date Fri, 13 Dec 2013 05:07:54 GMT
[#6956] Fixed silent nbhd error on import for neighborhoods with spaces in the name

Signed-off-by: Cory Johns <cjohns@slashdotmedia.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/40622275
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/40622275
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/40622275

Branch: refs/heads/tv/6942
Commit: 4062227538627df3293ed168ab5f5108144a78cd
Parents: 6426ead
Author: Cory Johns <cjohns@slashdotmedia.com>
Authored: Fri Dec 6 17:11:42 2013 +0000
Committer: Cory Johns <cjohns@slashdotmedia.com>
Committed: Fri Dec 6 17:11:42 2013 +0000

----------------------------------------------------------------------
 ForgeImporters/forgeimporters/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/40622275/ForgeImporters/forgeimporters/base.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/base.py b/ForgeImporters/forgeimporters/base.py
index 412ff3d..066719b 100644
--- a/ForgeImporters/forgeimporters/base.py
+++ b/ForgeImporters/forgeimporters/base.py
@@ -64,7 +64,7 @@ class ProjectImportForm(schema.Schema):
         self.add_field('project_shortname', provider.shortname_validator)
         self.allow_extra_fields = True
 
-    neighborhood = fev.PlainText(not_empty=True)
+    neighborhood = fev.NotEmpty()
     project_name = fev.UnicodeString(not_empty=True, max=40)
 
 


Mime
View raw message