summaryrefslogtreecommitdiff
blob: 94e5287db0b6fa747182ceeb568f47b1ea99c62b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
diff --git a/raet/lane/paging.py b/raet/lane/paging.py
index 5a2f480..e33d95c 100644
--- a/raet/lane/paging.py
+++ b/raet/lane/paging.py
@@ -6,7 +6,7 @@ paging module provides classes for RAET UXD messaging management
 '''
 
 # Import python libs
-from collections import Mapping
+from collections.abc import Mapping
 try:
     import simplejson as json
 except ImportError:
diff --git a/raet/lane/stacking.py b/raet/lane/stacking.py
index 3969cd9..be88111 100644
--- a/raet/lane/stacking.py
+++ b/raet/lane/stacking.py
@@ -11,7 +11,8 @@ import sys
 import os
 import errno
 
-from collections import deque,  Mapping
+from collections import deque
+from collections.abc import Mapping
 try:
     import simplejson as json
 except ImportError:
diff --git a/raet/road/packeting.py b/raet/road/packeting.py
index 0675912..078d76d 100644
--- a/raet/road/packeting.py
+++ b/raet/road/packeting.py
@@ -6,7 +6,8 @@ packeting module provides classes for Raet packets
 '''
 
 # Import python libs
-from collections import Mapping, deque
+from collections import deque
+from collections.abc import Mapping
 try:
     import simplejson as json
 except ImportError:
diff --git a/raet/road/stacking.py b/raet/road/stacking.py
index 924ae52..4d8670b 100644
--- a/raet/road/stacking.py
+++ b/raet/road/stacking.py
@@ -10,7 +10,8 @@ import socket
 import os
 import errno
 
-from collections import deque,  Mapping
+from collections import deque
+from collections.abc import Mapping
 try:
     import simplejson as json
 except ImportError:
diff --git a/raet/stacking.py b/raet/stacking.py
index 0a1743a..9244b66 100644
--- a/raet/stacking.py
+++ b/raet/stacking.py
@@ -13,7 +13,8 @@ import sys
 if sys.version_info > (3,):
     long = int
 
-from collections import deque,  Mapping
+from collections import deque
+from collections.abc import Mapping
 try:
     import simplejson as json
 except ImportError: