Skip to content

Commit

Permalink
new is ready evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Feb 8, 2015
1 parent 89523a5 commit 96dfed2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data/src/entity_manager/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ def analyse_entity(self, entity_class):
self.analyse_definition(entity_class)

def analyse_definition(self, entity_class):
# in case the entity class to be created is abstract there is
# no need to create it (no data source definition required)
if entity_class.is_abstract(): return
if not entity_class.is_ready(): return
if self.entity_manager.exists(entity_class): return
self.plugin.warning("No definition for class '%s' exists" % entity_class.__name__)

0 comments on commit 96dfed2

Please sign in to comment.