Skip to content

Commit

Permalink
Merge pull request #591 from gisce/paupese-patch-1
Browse files Browse the repository at this point in the history
IMP Borra atributos innecesarios del modelo CNMC
  • Loading branch information
paupese committed Jun 27, 2023
2 parents 303224e + c1ff0bb commit f2f9dad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libcnmc/models/cnmcmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ def __init__(self, *values, **kwvalues):
"""
self.validator = CNMCValidator(self.schema)
stored = namedtuple('{0}_store'.format(self.__class__.__name__), self.fields)
self.trams_at_prefix = kwvalues.get('trams_at_prefix', False) or ''
self.trams_bt_prefix = kwvalues.get('trams_bt_prefix', False) or ''
self.store = stored(*values, **kwvalues)
self.validator.validate(self.store._asdict())
self.store = stored(**self.validator.document)
Expand Down

0 comments on commit f2f9dad

Please sign in to comment.