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 | 1bc7be9fcfea8c7a8f7b009c2afcddd9e54b3692 (patch) | |
tree | 43affcbcbef8a369bed705cc0e6ef955a47ef9c9 /utils.py | |
parent | 43760158e1a1fdedabdd80f33dfe8f96592762f5 (diff) | |
download | astroid-1bc7be9fcfea8c7a8f7b009c2afcddd9e54b3692.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 + ' = [' |