summaryrefslogtreecommitdiffstats
path: root/debian/patches/python-3.10.patch
blob: 99ccc33ef711f6af16e284e02afa02776f1b7c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: compatibility with python 3.10
Author: Steve Langasek <steve.langasek@ubuntu.com>
Bug-Debian: https://bugs.debian.org/1001289
Last-Update: 2021-12-10
Forwarded: no

Index: colorclass-2.2.0/colorclass/codes.py
===================================================================
--- colorclass-2.2.0.orig/colorclass/codes.py
+++ colorclass-2.2.0/colorclass/codes.py
@@ -1,7 +1,7 @@
 """Handles mapping between color names and ANSI codes and determining auto color codes."""
 
 import sys
-from collections import Mapping
+from collections.abc import Mapping
 
 BASE_CODES = {
     '/all': 0, 'b': 1, 'f': 2, 'i': 3, 'u': 4, 'flash': 5, 'outline': 6, 'negative': 7, 'invis': 8, 'strike': 9,