]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_future.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / lib2to3 / fixes / fix_future.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_future.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_future.py
deleted file mode 100644 (file)
index bae2fab..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-"""Remove __future__ imports\r
-\r
-from __future__ import foo is replaced with an empty line.\r
-"""\r
-# Author: Christian Heimes\r
-\r
-# Local imports\r
-from .. import fixer_base\r
-from ..fixer_util import BlankLine\r
-\r
-class FixFuture(fixer_base.BaseFix):\r
-    BM_compatible = True\r
-\r
-    PATTERN = """import_from< 'from' module_name="__future__" 'import' any >"""\r
-\r
-    # This should be run last -- some things check for the import\r
-    run_order = 10\r
-\r
-    def transform(self, node, results):\r
-        new = BlankLine()\r
-        new.prefix = node.prefix\r
-        return new\r