"""Remove __future__ importsfrom __future__ import foo is replaced with an empty line."""# Author: Christian Heimes# Local importsfrom..importfixer_basefrom..fixer_utilimportBlankLineclassFixFuture(fixer_base.BaseFix):BM_compatible=TruePATTERN="""import_from< 'from' module_name="__future__" 'import' any >"""# This should be run last -- some things check for the importrun_order=10deftransform(self,node,results):new=BlankLine()new.prefix=node.prefixreturnnew