Removed unused itertools import and organized imports to adhere to PEP 8.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gary Wilson Jr 2007-10-13 16:02:54 +00:00
parent 928e68192c
commit 300dcd6cae
1 changed files with 4 additions and 5 deletions

View File

@ -1,10 +1,10 @@
import os
import sys
from optparse import make_option, OptionParser
import django import django
from django.core.exceptions import ImproperlyConfigured from django.core.exceptions import ImproperlyConfigured
from django.core.management.color import color_style from django.core.management.color import color_style
import itertools
from optparse import make_option, OptionParser
import sys
import os
class CommandError(Exception): class CommandError(Exception):
pass pass
@ -221,4 +221,3 @@ def _make_writeable(filename):
st = os.stat(filename) st = os.stat(filename)
new_permissions = stat.S_IMODE(st.st_mode) | stat.S_IWUSR new_permissions = stat.S_IMODE(st.st_mode) | stat.S_IWUSR
os.chmod(filename, new_permissions) os.chmod(filename, new_permissions)