From 28d5262fa3315690395f04e3619ed554dbaf725b Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Thu, 25 Apr 2019 02:56:06 -0700 Subject: [PATCH] Removed redundant os.path.abspath() call. --- django/core/management/commands/loaddata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/management/commands/loaddata.py b/django/core/management/commands/loaddata.py index 979ba9d2dc..fb7cf303f2 100644 --- a/django/core/management/commands/loaddata.py +++ b/django/core/management/commands/loaddata.py @@ -300,7 +300,7 @@ class Command(BaseCommand): dirs.append(app_dir) dirs.extend(fixture_dirs) dirs.append('') - return [os.path.abspath(os.path.realpath(d)) for d in dirs] + return [os.path.realpath(d) for d in dirs] def parse_name(self, fixture_name): """