summaryrefslogtreecommitdiff
path: root/factory/containers.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2012-08-17 17:11:17 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2012-11-15 00:01:25 +0100
commitac90ac4b3425cc79c164b3dc0bd13901bf814ff7 (patch)
tree6cd182c79997b8f979dff964617d4c54c680521e /factory/containers.py
parentb152ba79ab355c231b6e5fd852bad546e06208d9 (diff)
downloadfactory-boy-ac90ac4b3425cc79c164b3dc0bd13901bf814ff7.tar
factory-boy-ac90ac4b3425cc79c164b3dc0bd13901bf814ff7.tar.gz
[py3] Various python3-compatibility fixes.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Diffstat (limited to 'factory/containers.py')
-rw-r--r--factory/containers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/factory/containers.py b/factory/containers.py
index 46a647f..4ceb07f 100644
--- a/factory/containers.py
+++ b/factory/containers.py
@@ -62,7 +62,7 @@ class LazyStub(object):
def __str__(self):
return '<LazyStub for %s with %s>' % (
- self.__target_class.__name__, self.__attrs.keys())
+ self.__target_class.__name__, list(self.__attrs.keys()))
def __fill__(self):
"""Fill this LazyStub, computing values of all defined attributes.