mirror of https://github.com/django/django.git
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:
parent
928e68192c
commit
300dcd6cae
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue