fix instances of consecutive articles (closes #23221)

Patch by Karan Goel.
This commit is contained in:
Benjamin Peterson 2015-01-13 09:17:24 -05:00
parent 38dc250521
commit 82f34ada45
14 changed files with 14 additions and 13 deletions

View file

@ -35,7 +35,7 @@ class FixExitfunc(fixer_base.BaseFix):
self.sys_import = None
def transform(self, node, results):
# First, find a the sys import. We'll just hope it's global scope.
# First, find the sys import. We'll just hope it's global scope.
if "sys_import" in results:
if self.sys_import is None:
self.sys_import = results["sys_import"]