diff options
Diffstat (limited to 'bitbake/lib')
-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 |