r13400 - Products.ATVocabularyManager/trunk/Products/ATVocabularyManager/skins/ATVocabularyManager

"Gilles Lenfant" <[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.cvs
Message-ID <[email protected]>
Author: glenfant
Date: Thu Jan  6 14:51:28 2011
New Revision: 13400

Modified:
   Products.ATVocabularyManager/trunk/Products/ATVocabularyManager/skins/ATVocabularyManager/vdex_processupload.cpy
Log:
Fixed an obvious syntax error that prevents uploading a vdex file. Pls release as soon as you can ;)

Modified: Products.ATVocabularyManager/trunk/Products/ATVocabularyManager/skins/ATVocabularyManager/vdex_processupload.cpy
==============================================================================
--- Products.ATVocabularyManager/trunk/Products/ATVocabularyManager/skins/ATVocabularyManager/vdex_processupload.cpy	(original)
+++ Products.ATVocabularyManager/trunk/Products/ATVocabularyManager/skins/ATVocabularyManager/vdex_processupload.cpy	Thu Jan  6 14:51:28 2011
@@ -14,13 +14,13 @@
 else:
     print "No upload"
     return printed
-    
+
 vocabname = filename
 # need to normalize the filename using IUserPreferredFileNameNormalizer
 # move this into a view class and get rid of CMFFormController in here
 # meanwhile a quick fix for Windows:
-if '\' in vocabname:
-    vocabname = vocabname[vocabname.rfind('\'):]
+if '\\' in vocabname:
+    vocabname = vocabname[vocabname.rfind('\\'):]
 if vocabname.endswith('.vdex'):
     vocabname = vocabname[:-5]
 

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.