summaryrefslogtreecommitdiff
path: root/zuul/driver/github/githubconnection.py
diff options
context:
space:
mode:
Diffstat (limited to 'zuul/driver/github/githubconnection.py')
-rw-r--r--zuul/driver/github/githubconnection.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/zuul/driver/github/githubconnection.py b/zuul/driver/github/githubconnection.py
index 6089d4beb..33364d3ed 100644
--- a/zuul/driver/github/githubconnection.py
+++ b/zuul/driver/github/githubconnection.py
@@ -22,6 +22,7 @@ import threading
import time
import json
from collections import OrderedDict, defaultdict
+from collections.abc import Mapping
from itertools import chain
from json.decoder import JSONDecodeError
from typing import List, Optional
@@ -773,7 +774,7 @@ class GithubEventConnector:
return EventTuple(time.time(), body, event_type, delivery)
-class GithubUser(collections.Mapping):
+class GithubUser(Mapping):
log = logging.getLogger('zuul.GithubUser')
def __init__(self, username, connection, project_name):