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:
Jannis Leidel 2011-07-26 08:47:46 +00:00
parent 6b80640fd7
commit d99b86d6c1
1 changed files with 3 additions and 2 deletions

View File

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