summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/utils
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-04-28 13:58:06 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-06 10:31:12 +0100
commitf3180152a4a68f4d78fb5f0f222239c351ee7318 (patch)
treeae0f3edb801aa1161290bc28cc54a0429815e269 /scripts/lib/wic/utils
parent4daf903fb0398ee47825edf7d59d97beded9774f (diff)
downloadpoky-f3180152a4a68f4d78fb5f0f222239c351ee7318.tar.gz
wic: get rid of fs_related.makedirs
Removed fs_related.makedirs as is not used anywhere. The name is easy to confuse with os.makedirs. (From OE-Core rev: 796b114863ef20fbc89da45dbe6780abe1256f5e) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/utils')
-rw-r--r--scripts/lib/wic/utils/fs_related.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/lib/wic/utils/fs_related.py b/scripts/lib/wic/utils/fs_related.py
index 22aa294fa0..fc3c174163 100644
--- a/scripts/lib/wic/utils/fs_related.py
+++ b/scripts/lib/wic/utils/fs_related.py
@@ -16,22 +16,8 @@
16# with this program; if not, write to the Free Software Foundation, Inc., 59 16# with this program; if not, write to the Free Software Foundation, Inc., 59
17# Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 18
19from __future__ import with_statement
20import os
21import errno
22
23from wic.utils.oe.misc import exec_cmd 19from wic.utils.oe.misc import exec_cmd
24 20
25def makedirs(dirname):
26 """A version of os.makedirs() that doesn't throw an
27 exception if the leaf directory already exists.
28 """
29 try:
30 os.makedirs(dirname)
31 except OSError, err:
32 if err.errno != errno.EEXIST:
33 raise
34
35class DiskImage(): 21class DiskImage():
36 """ 22 """
37 A Disk backed by a file. 23 A Disk backed by a file.