Skip to content

Commit

Permalink
removing unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Jan 29, 2019
1 parent b0af0ba commit c697b33
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions wc_lang/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,6 @@ def gen_models(self):
:obj:`ValueError`: if submodels do not belong to a model
"""
model = self.object
if not model:
raise ValueError('Submodels must belong to a model')

# cut submodels from model
submodels = self.cut(kind='submodel')
Expand Down

0 comments on commit c697b33

Please sign in to comment.