diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2016-03-27 19:26:05 -0700 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2016-03-27 19:26:05 -0700 |
commit | 37aae6ed0b39c2e231a2b228766af1c8a97d974d (patch) | |
tree | 596f9bece6fc347e62d7e25d0922945c1cd12840 | |
parent | f20449c2e8201f04db0168319b82b71623b7c821 (diff) | |
download | isort-37aae6ed0b39c2e231a2b228766af1c8a97d974d.tar.gz |
Remove single character variables
-rw-r--r-- | isort/isort.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isort/isort.py b/isort/isort.py index c4732050..772c8162 100644 --- a/isort/isort.py +++ b/isort/isort.py @@ -124,7 +124,7 @@ class SortImports(object): self.as_map = {} section_names = self.config.get('sections') - self.sections = namedtuple('Sections', section_names)(*[n for n in section_names]) + self.sections = namedtuple('Sections', section_names)(*[name for name in section_names]) for section in itertools.chain(self.sections, self.config['forced_separate']): self.imports[section] = {'straight': set(), 'from': {}} |