mirror of
https://github.com/django/django.git
synced 2025-09-26 20:19:16 +00:00
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:
parent
5c31c68560
commit
ae953a8c4e
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue