]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/makedir.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Demo / scripts / makedir.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/makedir.py b/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/makedir.py
deleted file mode 100644 (file)
index 294502f..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#! /usr/bin/env python\r
-\r
-# Like mkdir, but also make intermediate directories if necessary.\r
-# It is not an error if the given directory already exists (as long\r
-# as it is a directory).\r
-# Errors are not treated specially -- you just get a Python exception.\r
-\r
-import sys, os\r
-\r
-def main():\r
-    for p in sys.argv[1:]:\r
-        makedirs(p)\r
-\r
-def makedirs(p):\r
-    if p and not os.path.isdir(p):\r
-        head, tail = os.path.split(p)\r
-        makedirs(head)\r
-        os.mkdir(p, 0777)\r
-\r
-if __name__ == "__main__":\r
-    main()\r