Skip to content

Commit

Permalink
never use curcuit logic :), thanks Gregor Müllegger
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikko Hellsing committed Oct 14, 2010
1 parent 0d8f69e commit 9387242
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autofixture/generators.py
Expand Up @@ -35,7 +35,8 @@ class Generator(object):
empty_p = 0

def __init__(self, empty_p=None, coerce=None):
self.empty_p = empty_p or self.empty_p
if empty_p is not None:
self.empty_p = empty_p
if coerce:
self.coerce_type = coerce

Expand Down

0 comments on commit 9387242

Please sign in to comment.