Remove outdated component attr check

This commit is contained in:
Ines Montani 2020-08-28 20:59:19 +02:00
parent 10da74382f
commit 6a999c9303
1 changed files with 0 additions and 4 deletions

View File

@ -1560,10 +1560,6 @@ class Language:
) )
serializers["meta.json"] = lambda p: srsly.write_json(p, self.meta) serializers["meta.json"] = lambda p: srsly.write_json(p, self.meta)
serializers["config.cfg"] = lambda p: self.config.to_disk(p) serializers["config.cfg"] = lambda p: self.config.to_disk(p)
for name, proc in self._pipeline:
# TODO: why did we add this?
# if not hasattr(proc, "name"):
# continue
if name in exclude: if name in exclude:
continue continue
if not hasattr(proc, "to_disk"): if not hasattr(proc, "to_disk"):