From ee36198756e2c300dd227b3d935c4a67d4402861 Mon Sep 17 00:00:00 2001 From: Igor Morgado Date: Sun, 10 Feb 2019 03:20:12 -0200 Subject: [PATCH] Fixed collections warning --- autoload/conque_gdb/conque_gdb.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/autoload/conque_gdb/conque_gdb.py b/autoload/conque_gdb/conque_gdb.py index c54e3c8..15f629c 100644 --- a/autoload/conque_gdb/conque_gdb.py +++ b/autoload/conque_gdb/conque_gdb.py @@ -1,4 +1,5 @@ -import re, collections +import re +import collections.abc # Marks that a breakpoint has been hit GDB_BREAK_MARK = '\x1a\x1a' @@ -36,7 +37,7 @@ def __init__(self, fname, line, enable): def __str__(self): return self.filename + ':' + self.lineno + ',' + self.enabled -class RegisteredBpDict(collections.MutableMapping): +class RegisteredBpDict(collections.abc.MutableMapping): def __init__(self): self.r_breaks = dict() self.lookups = dict()