Skip to content

Commit f46f812

Browse files
author
Buky
authored
Update pipeline\conf.py
Fix deprecated import, who will stop working in python 3.8. ``` C:\Program Files\Python3.7\lib\site-packages\pipeline\conf.py:94: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working class PipelineSettings(collections.MutableMapping): ```
1 parent d6b4955 commit f46f812

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pipeline/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from __future__ import unicode_literals
33

44
import os
5-
import collections
5+
from collections import MutableMapping
66
import shlex
77

88
from django.conf import settings as _settings
@@ -91,7 +91,7 @@
9191
}
9292

9393

94-
class PipelineSettings(collections.MutableMapping):
94+
class PipelineSettings(MutableMapping):
9595
"""
9696
Container object for pipeline settings
9797
"""

0 commit comments

Comments
 (0)