mirror of https://github.com/django/django.git
Fixed #16518 -- Fixed collectstatic management command to run on Jython. Thanks, Josh Smeaton.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6b80640fd7
commit
d99b86d6c1
|
@ -50,7 +50,8 @@ class Command(NoArgsCommand):
|
|||
self.local = False
|
||||
else:
|
||||
self.local = True
|
||||
# Use ints for file times (ticket #14665)
|
||||
# Use ints for file times (ticket #14665), if supported
|
||||
if hasattr(os, 'stat_float_times'):
|
||||
os.stat_float_times(False)
|
||||
|
||||
def handle_noargs(self, **options):
|
||||
|
|
Loading…
Reference in New Issue