def _make_container_root(name):
 path = _root(name)
 if os.path.exists(path):
  __context__['retcode'] = salt.defaults.exitcodes.SALT_BUILD_FAIL
  raise CommandExecutionError('Container {0} already exists'.format(name))
 else:
  try:
   os.makedirs(path)
   return path
  except OSError as exc:
   raise CommandExecutionError('Unable to make container root directory {0}: {1}'.format(name, exc))

def _make_container_root ( name ) : path = _root ( name ) if os . path . exists ( path ) : __context__ [ 'retcode' ] = salt . defaults . exitcodes . SALT_BUILD_FAIL raise CommandExecutionError ( 'Container {0} already exists' . format ( name ) ) else : try : os . makedirs ( path ) return path except OSError as exc : raise CommandExecutionError ( 'Unable to make container root directory {0}: {1}' . format ( name , exc ) )
make the container root directory .