From d57f734dcb75428cbd4e0dcf3fdc28dec8c7741b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 9 Jan 2013 11:45:07 +0100 Subject: [PATCH] remove TODO marker as the handling of metadata files has been done --- src/collective/dms/batchimport/batchimport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collective/dms/batchimport/batchimport.py b/src/collective/dms/batchimport/batchimport.py index f812bfb..014b919 100644 --- a/src/collective/dms/batchimport/batchimport.py +++ b/src/collective/dms/batchimport/batchimport.py @@ -57,10 +57,10 @@ class BatchImporter(BrowserView): self.code_to_type_mapping[mapping['code']] = mapping['portal_type'] for basename, dirnames, filenames in os.walk(settings.fs_root_directory): - # first pass, handle metadata files (TODO) metadata_filenames = [x for x in filenames if x.endswith('.metadata')] other_filenames = [x for x in filenames if not x.endswith('.metadata')] + # first pass, handle metadata files for filename in metadata_filenames: filepath = os.path.join(basename, filename) foldername = basename[len(settings.fs_root_directory):]