Skip to content

Commit

Permalink
Fixed failing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sirex committed May 10, 2011
1 parent 777ffcf commit 10f988a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mockups/factory.py
Expand Up @@ -91,6 +91,7 @@ def get_generator(self, field, **kwargs):
for cls in field.__class__.__mro__:
if cls in self.fieldclass_to_generator:
obj = self.fieldclass_to_generator.get(cls)
break
else:
return None # No matching generator found

Expand Down

0 comments on commit 10f988a

Please sign in to comment.