PEP8 cleanups.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -31,6 +31,7 @@ class Command(management.BaseCommand):
|
||||
'--no-javascript', action='store_true', dest='no_javascript',
|
||||
help='Don\'t download the Javascript dependencies.',
|
||||
)
|
||||
|
||||
def initialize_system(self, force=False):
|
||||
system_path = os.path.join(settings.MEDIA_ROOT, SYSTEM_DIR)
|
||||
settings_path = os.path.join(settings.MEDIA_ROOT, 'mayan_settings')
|
||||
|
||||
@@ -4,7 +4,6 @@ from django import forms
|
||||
from django.utils.encoding import force_text
|
||||
from django.utils.html import format_html
|
||||
from django.utils.safestring import mark_safe
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
|
||||
class DisableableSelectWidget(forms.SelectMultiple):
|
||||
|
||||
@@ -6,8 +6,6 @@ from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from .settings import setting_language_codes
|
||||
|
||||
import operator
|
||||
|
||||
language_choices = sorted(
|
||||
[
|
||||
(
|
||||
|
||||
@@ -18,7 +18,7 @@ from metadata.models import MetadataType
|
||||
|
||||
from ..literals import SOURCE_UNCOMPRESS_CHOICE_Y
|
||||
from ..models import (
|
||||
EmailBaseModel, IMAPEmail, POP3Email, WatchFolderSource, WebFormSource
|
||||
EmailBaseModel, POP3Email, WatchFolderSource, WebFormSource
|
||||
)
|
||||
|
||||
from .literals import (
|
||||
|
||||
Reference in New Issue
Block a user