Commits

Josh VanderLinden committed 7b50add

Reordered some imports. Removed an unused import.

Comments (0)

Files changed (1)

articles/management/commands/check_for_articles_from_email.py

-from django.conf import settings
-from django.contrib.auth.models import User
-from django.contrib.sites.models import Site
-from django.core.management.base import BaseCommand
-from django.template.defaultfilters import slugify
-from django.utils.translation import ugettext_lazy as _
-
 from datetime import datetime
 from email.parser import FeedParser
 from email.utils import parseaddr, parsedate
 import sys
 import time
 
-from django.db.models import connection
+from django.conf import settings
+from django.contrib.auth.models import User
+from django.contrib.sites.models import Site
+from django.core.management.base import BaseCommand
+from django.template.defaultfilters import slugify
+from django.utils.translation import ugettext_lazy as _
+
 from articles.models import Article, MARKUP_HTML, MARKUP_MARKDOWN, MARKUP_REST, MARKUP_TEXTILE
 
 MB_IMAP4 = 'IMAP4'
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.