Switch to new API
This commit is contained in:
parent
b50911285a
commit
55ebf261ce
|
@ -294,7 +294,7 @@ def _marked(func, mark):
|
||||||
class MarkInfo(object):
|
class MarkInfo(object):
|
||||||
""" Marking object created by :class:`MarkDecorator` instances. """
|
""" Marking object created by :class:`MarkDecorator` instances. """
|
||||||
|
|
||||||
_marks = attr.ib(convert=list)
|
_marks = attr.ib(converter=list)
|
||||||
|
|
||||||
@_marks.validator
|
@_marks.validator
|
||||||
def validate_marks(self, attribute, value):
|
def validate_marks(self, attribute, value):
|
||||||
|
|
Loading…
Reference in New Issue