diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2010-10-12 14:24:15 +0200 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-10-12 14:24:15 +0200 |
commit | c6c2d9c3836d586f6edfe2a3df3a1710fe15d6aa (patch) | |
tree | 76da070c9441faa9bf6dc21dc1245592e53591e6 /mixins.py | |
parent | 30999b0f111aa5c8bb774509b3f957779a2f1706 (diff) | |
download | astroid-git-c6c2d9c3836d586f6edfe2a3df3a1710fe15d6aa.tar.gz |
remove old coding style
Diffstat (limited to 'mixins.py')
-rw-r--r-- | mixins.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -149,8 +149,7 @@ class FromImportMixIn(BaseClass, FilterStmtsMixin): def real_name(self, asname): """get name from 'as' name""" - for index in range(len(self.names)): - name, _asname = self.names[index] + for name, _asname in self.names: if name == '*': return asname if not _asname: |