mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Try importing from collections.abc for compatibility with Python 3.8
This commit is contained in:
parent
45c884cba5
commit
9ae32b8ff9
3 changed files with 13 additions and 3 deletions
|
|
@ -2,7 +2,10 @@
|
|||
from __future__ import print_function, unicode_literals
|
||||
|
||||
import argparse
|
||||
import collections
|
||||
try:
|
||||
import collections.abc as collections
|
||||
except ImportError:
|
||||
import collections
|
||||
import locale
|
||||
import logging
|
||||
import multiprocessing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue