| Index: recipe_modules/path/api.py
|
| diff --git a/recipe_modules/path/api.py b/recipe_modules/path/api.py
|
| index 8bf32a6d2225f146edbccc92ea01a83fcddceb53..1a0661f39b025c24b85bdc4b6fd340df21c07f57 100644
|
| --- a/recipe_modules/path/api.py
|
| +++ b/recipe_modules/path/api.py
|
| @@ -30,11 +30,11 @@ def PathToString(api, test):
|
| base_path = repr(path.base)
|
| else: # pragma: no cover
|
| base_path = os.path.dirname(path.base.module.__file__)
|
| - elif isinstance(path.base, config_types.PackageBasePath):
|
| + elif isinstance(path.base, config_types.PackageRepoBasePath):
|
| if test.enabled:
|
| base_path = repr(path.base)
|
| else: # pragma: no cover
|
| - base_path = path.base.package.recipes_dir
|
| + base_path = path.base.package.repo_root
|
| else: # pragma: no cover
|
| raise NotImplementedError('PathToString not implemented for %s' %
|
| path.base.__class__.__name__)
|
|
|