Code Duplication    Length = 10-10 lines in 2 locations

src/ocrd_models/ocrd_page_generateds.py 2 locations

@@ 8884-8893 (lines=10) @@
8881
    ]
8882
    subclass = None
8883
    superclass = None
8884
    def __init__(self, points=None, conf=None, gds_collector_=None, **kwargs_):
8885
        self.gds_collector_ = gds_collector_
8886
        self.gds_elementtree_node_ = None
8887
        self.original_tagname_ = None
8888
        self.parent_object_ = kwargs_.get('parent_object_')
8889
        self.ns_prefix_ = "pc"
8890
        self.points = _cast(None, points)
8891
        self.points_nsprefix_ = "pc"
8892
        self.conf = _cast(float, conf)
8893
        self.conf_nsprefix_ = "pc"
8894
    def factory(*args_, **kwargs_):
8895
        if CurrentSubclassModule_ is not None:
8896
            subclass = getSubclassFromModule_(
@@ 3986-3995 (lines=10) @@
3983
    ]
3984
    subclass = None
3985
    superclass = None
3986
    def __init__(self, points=None, conf=None, gds_collector_=None, **kwargs_):
3987
        self.gds_collector_ = gds_collector_
3988
        self.gds_elementtree_node_ = None
3989
        self.original_tagname_ = None
3990
        self.parent_object_ = kwargs_.get('parent_object_')
3991
        self.ns_prefix_ = "pc"
3992
        self.points = _cast(None, points)
3993
        self.points_nsprefix_ = "pc"
3994
        self.conf = _cast(float, conf)
3995
        self.conf_nsprefix_ = "pc"
3996
    def factory(*args_, **kwargs_):
3997
        if CurrentSubclassModule_ is not None:
3998
            subclass = getSubclassFromModule_(