From 29240a99526f5f2a234a9093cd7e001f32ba1801 Mon Sep 17 00:00:00 2001 From: PatOnTheBack <51241310+PatOnTheBack@users.noreply.github.com> Date: Mon, 1 Jul 2019 08:50:00 -0400 Subject: [PATCH] Removed unnecessary import in django/utils/autoreload.py. --- django/utils/autoreload.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py index 3a0d5fbe737..25c3b442508 100644 --- a/django/utils/autoreload.py +++ b/django/utils/autoreload.py @@ -2,7 +2,6 @@ import functools import itertools import logging import os -import pathlib import signal import subprocess import sys @@ -137,7 +136,7 @@ def iter_modules_and_files(modules, extra_files): for filename in itertools.chain(sys_file_paths, extra_files): if not filename: continue - path = pathlib.Path(filename) + path = Path(filename) try: resolved_path = path.resolve(strict=True).absolute() except FileNotFoundError: