Skip to content

Commit

Permalink
Merge pull request #42 from farshidce/issue41-fix
Browse files Browse the repository at this point in the history
fix-#41 : lazy_format __str__ function should return the formatted string
  • Loading branch information
cwacek committed Apr 7, 2016
2 parents 695ae17 + 92603a4 commit d98de9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_jsonschema_objects/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def __init__(self, fmt, *args, **kwargs):
self.kwargs = kwargs

def __str__(self):
self.fmt.format(*self.args, **self.kwargs)
return self.fmt.format(*self.args, **self.kwargs)


def safe_issubclass(x, y):
Expand Down

0 comments on commit d98de9b

Please sign in to comment.