diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2014-01-22 22:41:28 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2014-01-22 22:43:16 +0100 |
commit | 497bee605dab138a89661228e071c4e7236c350a (patch) | |
tree | 5935b758c261144ddefc2683750f89e79e13deff /factory | |
parent | fb794bd1bcfcb84ec82e72d4f9c3b67624724fdf (diff) | |
download | factory-boy-497bee605dab138a89661228e071c4e7236c350a.tar factory-boy-497bee605dab138a89661228e071c4e7236c350a.tar.gz |
Fix log_pprint for *args (Closes #127).
Diffstat (limited to 'factory')
-rw-r--r-- | factory/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/factory/utils.py b/factory/utils.py index b27fd77..276977a 100644 --- a/factory/utils.py +++ b/factory/utils.py @@ -113,7 +113,7 @@ def _safe_repr(obj): def log_pprint(args=(), kwargs=None): kwargs = kwargs or {} return ', '.join( - [repr(arg) for arg in args] + + [_safe_repr(arg) for arg in args] + [ '%s=%s' % (key, _safe_repr(value)) for key, value in kwargs.items() |