diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2010-11-15 12:17:32 +0100 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-11-15 12:17:32 +0100 |
commit | 2976a31a05f6738e0440885531e1a527cd2b807d (patch) | |
tree | 00418359b2d8a333cc5107e57a74f484cd1645f8 /utils.py | |
parent | 616a5be4d2dee8f16683306ac5bcc62c65c638fd (diff) | |
download | astroid-git-2976a31a05f6738e0440885531e1a527cd2b807d.tar.gz |
2to3 : use py2.x compatible fixers
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -423,7 +423,7 @@ class TreeTester(object): attr = node_dict[field] if attr is None: continue - if type(attr) is list: + if isinstance(attr, list): if not attr: continue self._string += '\n' + indent + field + ' = [' |