diff --git a/dbsettings/group.py b/dbsettings/group.py index 84e27ce..a60f5fb 100644 --- a/dbsettings/group.py +++ b/dbsettings/group.py @@ -17,6 +17,8 @@ def __init__(mcs, name, bases, attrs): attrs.pop('__module__', None) attrs.pop('__doc__', None) attrs.pop('__qualname__', None) + attrs.pop('__firstlineno__', None) + attrs.pop('__static_attributes__', None) for attribute_name, attr in attrs.items(): if not isinstance(attr, Value): raise TypeError('The type of %s (%s) is not a valid Value.' %