third_party/blink/tools/blinkpy/common/system/filesystem.py
def maybe_make_directory(self, *path):
        """Creates the specified directory if it doesn't already exist."""
        try:
            # os.makedirs() supports UNC paths:
            # https://docs.python.org/2/library/os.html#os.makedirs
            os.makedirs(self._path_for_access(self.join(*path)))
        except OSError as error:
            if error.errno != errno.EEXIST:
                raise
Creates the specified directory if it doesn't already exist.
Creates the specified directory if it doesn't already exist.
Creates the specified directory if it doesn ' t already exist .
def maybe_make_directory(self, *path):
        try:
            os.makedirs(self._path_for_access(self.join(*path)))
        except OSError as error:
            if error.errno != errno.EEXIST:
                raise
def maybe_make_directory ( self , * path ) : try : os . makedirs ( self . _path_for_access ( self . join ( * path ) ) ) except OSError as error : if error . errno != errno . EEXIST : raise
Creates the specified directory if it doesn't already exist.
Creates the specified directory if it doesn ' t already exist .
"""Creates the specified directory if it doesn't already exist.""" # os.makedirs() supports UNC paths: # https://docs.python.org/2/library/os.html#os.makedirs
self