Skip to content

Updated module import for newer python3 versions #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Updated module import for newer python3 versions
  • Loading branch information
f1reflyyyylmao committed Jan 30, 2020
commit 549fb83881c33df999893071b541666b947c1207
4 changes: 2 additions & 2 deletions autoload/conque_gdb/conque_gdb.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import re, collections
import re, collections.abc

# Marks that a breakpoint has been hit
GDB_BREAK_MARK = '\x1a\x1a'
Expand Down Expand Up @@ -36,7 +36,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()
Expand Down