PEP8 cleanups.

This commit is contained in:
Roberto Rosario
2016-03-09 23:31:03 -04:00
parent 45e90da219
commit 180c38b746
4 changed files with 1 additions and 7 deletions

View File

@@ -4,8 +4,7 @@ from django.contrib import messages
from django.core.exceptions import PermissionDenied
from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect
from django.shortcuts import get_object_or_404, render_to_response
from django.template import RequestContext
from django.shortcuts import get_object_or_404
from django.utils.translation import ugettext_lazy as _
from documents.models import Document
@@ -20,7 +19,6 @@ from permissions import Permission
from .exceptions import DocumentAlreadyCheckedOut, DocumentNotCheckedOut
from .forms import DocumentCheckoutForm, DocumentCheckoutDefailForm
from .literals import STATE_LABELS
from .models import DocumentCheckout
from .permissions import (
permission_document_checkin, permission_document_checkin_override,

View File

@@ -6,7 +6,6 @@ from django import forms
from django.conf import settings
from django.contrib.auth import get_user_model
from django.db import models
from django.utils.html import escape
from django.utils.translation import ugettext_lazy as _
from .classes import Filter, Package

View File

@@ -6,9 +6,7 @@ import tempfile
import types
from django.conf import settings
from django.utils import formats
from django.utils.datastructures import MultiValueDict
from django.utils.encoding import force_text
from django.utils.http import urlquote as django_urlquote
from django.utils.http import urlencode as django_urlencode

View File

@@ -8,7 +8,6 @@ from django.conf import settings
from django.contrib import messages
from django.core.exceptions import PermissionDenied
from django.core.urlresolvers import resolve, reverse, reverse_lazy
from django.template.defaultfilters import filesizeformat
from django.http import HttpResponse, HttpResponseRedirect
from django.shortcuts import render_to_response, get_object_or_404
from django.template import RequestContext