mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Remove extranious None default from get
This commit is contained in:
@@ -90,7 +90,7 @@ class Record(EqualityTupleMixin):
|
||||
def register_type(cls, _class, _type=None):
|
||||
if _type is None:
|
||||
_type = _class._type
|
||||
existing = cls._CLASSES.get(_type, None)
|
||||
existing = cls._CLASSES.get(_type)
|
||||
if existing:
|
||||
module = existing.__module__
|
||||
name = existing.__name__
|
||||
|
||||
Reference in New Issue
Block a user