svn path=/main/trunk/; revision=6211
if config_root is None:
config_root = "/"
- config_root = \
- normalize_path(os.path.abspath(config_root)) + os.path.sep
+ config_root = normalize_path(os.path.abspath(
+ config_root)).rstrip(os.path.sep) + os.path.sep
check_var_directory("PORTAGE_CONFIGROOT", config_root)
if target_root is None:
target_root = "/"
- target_root = \
- normalize_path(os.path.abspath(target_root)) + os.path.sep
+ target_root = normalize_path(os.path.abspath(
+ target_root)).rstrip(os.path.sep) + os.path.sep
check_var_directory("ROOT", target_root)