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
This commit is contained in:
Jacob Kaplan-Moss 2008-08-29 20:00:55 +00:00
parent 5c31c68560
commit ae953a8c4e
1 changed files with 1 additions and 0 deletions

View File

@ -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)