Skip to content

Commit

Permalink
#476 line length issues
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlittle committed Nov 14, 2019
1 parent fb82e17 commit 326b0d9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion quiz/api/resources.py
Expand Up @@ -31,7 +31,7 @@ class QuizResource(ModelResource):
'quizquestion_set',
related_name='quiz',
full=True)
props = fields.ToManyField('quiz.api.resources.QuizPropsResource',
props = fields.ToManyField('quiz.api.resources.QuizPropsResource',
'quizprops_set',
related_name='quiz',
full=True)
Expand Down
2 changes: 1 addition & 1 deletion summary/models/course_daily_stats.py
Expand Up @@ -29,7 +29,7 @@ class Meta:
index_together = ["course", "day", "type"]

@staticmethod
def update_daily_summary(course, day, last_tracker_pk=0, newest_tracker_pk=0):
def update_daily_summary(course, day, last_tracker_pk=0, newest_tracker_pk=0):
# range of tracker ids to process

day_start = datetime.datetime.strptime(day.strftime("%Y-%m-%d") + " 00:00:00",
Expand Down
4 changes: 2 additions & 2 deletions summary/models/user_course_summary.py
Expand Up @@ -35,9 +35,9 @@ class Meta:
index_together = ["user", "course"]

def update_summary(self,
last_tracker_pk=0, newest_tracker_pk=0,
last_tracker_pk=0, newest_tracker_pk=0,
# range of tracker ids to process
last_points_pk=0, newest_points_pk=0
last_points_pk=0, newest_points_pk=0
# range of points ids to process
):

Expand Down
2 changes: 1 addition & 1 deletion summary/models/user_points_summary.py
Expand Up @@ -16,7 +16,7 @@ class UserPointsSummary(models.Model):
class Meta:
verbose_name = _('UserPointsSummary')

def update_points(self, last_points_pk=0, newest_points_pk=0):
def update_points(self, last_points_pk=0, newest_points_pk=0):
# range of points ids to process

first_points = (last_points_pk == 0)
Expand Down

0 comments on commit 326b0d9

Please sign in to comment.