Diverse Code Cleanups

*Code wurde PEP-8 gerecht formatiert
* Kleine Fehler die der PyCharm Inspector beanstandet wurden korrigiert
This commit is contained in:
Christian Berg
2014-11-26 16:04:52 +01:00
committed by Christian Berg
parent f34281089d
commit 86a0db050d
76 changed files with 619 additions and 528 deletions

View File

@@ -1,8 +1,8 @@
'''
"""
Created on 06.06.2011
@author: christian
'''
"""
import fnmatch
from optparse import make_option
import os
@@ -15,9 +15,9 @@ from django.utils.translation import ugettext as _
class Command(BaseCommand):
'''
"""
classdocs
'''
"""
can_import_settings = True
help = _("Reads raw CSS from stdin, and writes compressed CSS to stdout.")
option_list = BaseCommand.option_list + (

View File

@@ -1,8 +1,8 @@
'''
"""
Created on 06.06.2011
@author: christian
'''
"""
import fnmatch
import os
@@ -14,9 +14,9 @@ import jsmin
class Command(BaseCommand):
'''
"""
classdocs
'''
"""
can_import_settings = True
help = _("Reads raw CSS from stdin, and writes compressed CSS to stdout.")

View File

@@ -1,8 +1,8 @@
'''
"""
Created on 06.06.2011
@author: christian
'''
"""
from django.conf import settings
from django.contrib.sites.models import Site
from django.core.management.base import BaseCommand
@@ -13,9 +13,9 @@ from scss import parser
class Command(BaseCommand):
'''
"""
classdocs
'''
"""
can_import_settings = True
help = _("Compile SCSS rules.")