We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ee5b89 commit 59d90e2Copy full SHA for 59d90e2
src/collective/exportimport/import_content.py
@@ -7,7 +7,6 @@
7
from DateTime import DateTime
8
from datetime import timedelta
9
from Persistence import PersistentMapping
10
-from pathlib import Path
11
from plone import api
12
from plone.api.exc import InvalidParameterError
13
from plone.dexterity.interfaces import IDexterityFTI
@@ -44,6 +43,11 @@
44
43
except ImportError:
45
HAS_COLLECTION_FIX = False
46
+if six.PY2:
47
+ from pathlib2 import Path
48
+else:
49
+ from pathlib import Path
50
+
51
logger = logging.getLogger(__name__)
52
BLOB_HOME = os.getenv("COLLECTIVE_EXPORTIMPORT_BLOB_HOME", "")
53
0 commit comments