diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-12-17 12:29:49 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:52 +0000 |
commit | 4dc97cb8459a28b6e5af06678960a06dc0a45b5e (patch) | |
tree | 76520b762a704763dd7a30542d70d83680d6f8b1 | |
parent | 9bf3cf103c2a02f73cc25667cfc004d1fa31ef88 (diff) | |
download | openembedded-core-4dc97cb8459a28b6e5af06678960a06dc0a45b5e.tar.gz openembedded-core-4dc97cb8459a28b6e5af06678960a06dc0a45b5e.tar.bz2 openembedded-core-4dc97cb8459a28b6e5af06678960a06dc0a45b5e.tar.xz openembedded-core-4dc97cb8459a28b6e5af06678960a06dc0a45b5e.zip |
utils: don't overwrite builtin dir() function
(Bitbake rev: 6dc863f714beda6ca7ff8cd3e830a9bc8a39123d)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | bitbake/lib/bb/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index 2fc347c34..54b1db9dd 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py @@ -629,13 +629,13 @@ def prune_suffix(var, suffixes, d): return var.replace(suffix, "") return var -def mkdirhier(dir): +def mkdirhier(directory): """Create a directory like 'mkdir -p', but does not complain if directory already exists like os.makedirs """ try: - os.makedirs(dir) + os.makedirs(directory) except OSError as e: if e.errno != errno.EEXIST: raise e |