summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-04-25 02:56:06 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-04-25 11:56:05 +0200
commit28d5262fa3315690395f04e3619ed554dbaf725b (patch)
tree84bb94de1b848f53f4d26da339636ca0338fc5b9
parenta5accc0368c6575b55976c06af36ed399c85c781 (diff)
Removed redundant os.path.abspath() call.
-rw-r--r--django/core/management/commands/loaddata.py2
1 files changed, 1 insertions, 1 deletions
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):
"""