mirror of
https://github.com/elliotnunn/machfs.git
synced 2024-11-29 03:50:51 +00:00
Update deprecated import
This commit is contained in:
parent
d3b0a52caf
commit
a5b3a5823d
@ -1,4 +1,4 @@
|
|||||||
import collections
|
from collections.abc import MutableMapping
|
||||||
import os
|
import os
|
||||||
from os import path
|
from os import path
|
||||||
from macresources import make_rez_code, parse_rez_code, make_file, parse_file
|
from macresources import make_rez_code, parse_rez_code, make_file, parse_file
|
||||||
@ -7,7 +7,7 @@ from macresources import make_rez_code, parse_rez_code, make_file, parse_file
|
|||||||
TEXT_TYPES = [b'TEXT', b'ttro'] # Teach Text read-only
|
TEXT_TYPES = [b'TEXT', b'ttro'] # Teach Text read-only
|
||||||
|
|
||||||
|
|
||||||
class AbstractFolder(collections.MutableMapping):
|
class AbstractFolder(MutableMapping):
|
||||||
def __init__(self, from_dict=()):
|
def __init__(self, from_dict=()):
|
||||||
self._prefdict = {} # lowercase to preferred
|
self._prefdict = {} # lowercase to preferred
|
||||||
self._maindict = {} # lowercase to contents
|
self._maindict = {} # lowercase to contents
|
||||||
|
Loading…
Reference in New Issue
Block a user