summaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-11-15 12:17:32 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-11-15 12:17:32 +0100
commit1bc7be9fcfea8c7a8f7b009c2afcddd9e54b3692 (patch)
tree43affcbcbef8a369bed705cc0e6ef955a47ef9c9 /utils.py
parent43760158e1a1fdedabdd80f33dfe8f96592762f5 (diff)
downloadastroid-1bc7be9fcfea8c7a8f7b009c2afcddd9e54b3692.tar.gz
2to3 : use py2.x compatible fixers
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.py b/utils.py
index cb4e37e..d7a174c 100644
--- a/utils.py
+++ b/utils.py
@@ -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 + ' = ['