summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2013-01-09 11:30:19 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2013-02-13 10:16:38 (GMT)
commita8a34f74e7c1627781335fc20b5d0246ae9bb48b (patch)
tree1d77b5d511ce2baeab5ae29d467c62d994d1c12c
parent9c491bbc7ec993cc5ee3b9a87af060a97dbe45fe (diff)
downloadcollective.dms.batchimport-a8a34f74e7c1627781335fc20b5d0246ae9bb48b.zip
collective.dms.batchimport-a8a34f74e7c1627781335fc20b5d0246ae9bb48b.tar.gz
collective.dms.batchimport-a8a34f74e7c1627781335fc20b5d0246ae9bb48b.tar.bz2
shortened error message
-rw-r--r--src/collective/dms/batchimport/batchimport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/collective/dms/batchimport/batchimport.py b/src/collective/dms/batchimport/batchimport.py
index 26ab504..3f76af0 100644
--- a/src/collective/dms/batchimport/batchimport.py
+++ b/src/collective/dms/batchimport/batchimport.py
@@ -150,7 +150,7 @@ class BatchImporter(BrowserView):
try:
folder = self.get_folder(foldername)
except AttributeError:
- raise BatchImportError("filesystem directory '%s' doesn't match a plone folder"%foldername)
+ raise BatchImportError('directory structure mismatch')
code = filename.split('-', 1)[0]
portal_type = self.code_to_type_mapping.get(code)
if not portal_type: