From ae953a8c4e87172a3dfd37df3f5f6890ce9b00a7 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Fri, 29 Aug 2008 20:00:55 +0000 Subject: [PATCH] Fixed #8673: fixed a missing import in `django.core.files.move`. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8720 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/files/move.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/core/files/move.py b/django/core/files/move.py index 58a0ab125d..99b831ffc9 100644 --- a/django/core/files/move.py +++ b/django/core/files/move.py @@ -11,6 +11,7 @@ from django.core.files import locks try: from shutil import copystat except ImportError: + import stat def copystat(src, dst): """Copy all stat info (mode bits, atime and mtime) from src to dst""" st = os.stat(src)