Skip to content

Commit

Permalink
Explicitly show the directory creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
lonicerae committed Aug 8, 2024
1 parent 95ce086 commit ed3e753
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions repos/system_upgrade/common/libraries/mounting.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class MountingMode(object):

def _makedirs(path, mode=0o777, exists_ok=True):
""" Helper function which extends os.makedirs with exists_ok on all versions of python. """
api.current_logger().debug('Making dir:%s with mode:%o', path, mode)
try:
os.makedirs(path, mode=mode)
except OSError:
Expand Down

0 comments on commit ed3e753

Please sign in to comment.