manifest: replace a realpath with an abspath in ManifestProject

Those aren't the same thing on POSIX, and the Project equivalent is
using abspath. Keep it consistent.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2020-06-30 17:19:12 -07:00 committed by Marti Bolivar
parent 476f4fca15
commit 4e85b171a0
1 changed files with 2 additions and 2 deletions

View File

@ -834,8 +834,8 @@ class ManifestProject(Project):
@property @property
def abspath(self) -> Optional[str]: def abspath(self) -> Optional[str]:
if self._abspath is None and self.topdir and self.path: if self._abspath is None and self.topdir and self.path:
self._abspath = os.path.realpath(os.path.join(self.topdir, self._abspath = os.path.abspath(os.path.join(self.topdir,
self.path)) self.path))
return self._abspath return self._abspath
def as_dict(self) -> Dict: def as_dict(self) -> Dict: