summaryrefslogtreecommitdiff
path: root/factory
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2014-01-22 22:41:28 +0100
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2014-01-22 22:42:00 +0100
commitecbe5557f99f2f4b14b6c9b4bb79993269906fa8 (patch)
treefe91825f6ebc938201a275b842e895c5f9481d2b /factory
parentf3ed0fa0c1d2d367a905952e9a6feaab58185616 (diff)
downloadfactory-boy-ecbe5557f99f2f4b14b6c9b4bb79993269906fa8.tar
factory-boy-ecbe5557f99f2f4b14b6c9b4bb79993269906fa8.tar.gz
Fix log_pprint for *args (Closes #127).
Diffstat (limited to 'factory')
-rw-r--r--factory/utils.py2
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()