fix pep8 violations, fix pylint violations

This commit is contained in:
Miles Steele
2013-07-01 16:29:14 -04:00
parent a727959d18
commit f25b414d40
12 changed files with 227 additions and 147 deletions

View File

@@ -9,12 +9,13 @@ TODO sync instructor and staff flags
{instructor: true, staff: true}
"""
from django.contrib.auth.models import User, Group
from courseware.access import get_access_group_name, course_beta_test_group_name
from django_comment_common.models import (Role,
FORUM_ROLE_ADMINISTRATOR,
FORUM_ROLE_MODERATOR,
FORUM_ROLE_COMMUNITY_TA)
from django.contrib.auth.models import Group
from courseware.access import (get_access_group_name,
course_beta_test_group_name)
from django_comment_common.models import Role
# FORUM_ROLE_ADMINISTRATOR,
# FORUM_ROLE_MODERATOR,
# FORUM_ROLE_COMMUNITY_TA)
def list_with_level(course, level):