summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2007-10-13 16:02:54 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2007-10-13 16:02:54 +0000
commit300dcd6cae24595e1c1f1c3df040b5eea91b6bd6 (patch)
treebca28cb45a5e7fac48b166d67501fa17343367fa
parent928e68192c4bf1eecc2439b8c81f6f72c4f900dd (diff)
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
-rw-r--r--django/core/management/base.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/django/core/management/base.py b/django/core/management/base.py
index 26ecef4ff5..1c53ef835d 100644
--- a/django/core/management/base.py
+++ b/django/core/management/base.py
@@ -1,10 +1,10 @@
+import os
+import sys
+from optparse import make_option, OptionParser
+
import django
from django.core.exceptions import ImproperlyConfigured
from django.core.management.color import color_style
-import itertools
-from optparse import make_option, OptionParser
-import sys
-import os
class CommandError(Exception):
pass
@@ -221,4 +221,3 @@ def _make_writeable(filename):
st = os.stat(filename)
new_permissions = stat.S_IMODE(st.st_mode) | stat.S_IWUSR
os.chmod(filename, new_permissions)
-