Fix some undefined names reported by pyflakes
- Legacy-Id: 213
This commit is contained in:
parent
faf885aabd
commit
01f0baaf56
|
@ -32,7 +32,7 @@ class ResolveAcronym(object):
|
||||||
else:
|
else:
|
||||||
acronym_name = Acronym.objects.get(pk=self.group_acronym_id).name
|
acronym_name = Acronym.objects.get(pk=self.group_acronym_id).name
|
||||||
if interim:
|
if interim:
|
||||||
return "i" + acronym
|
return acronym_name + " (interim)"
|
||||||
return acronym_name
|
return acronym_name
|
||||||
def area(self):
|
def area(self):
|
||||||
if self.irtf:
|
if self.irtf:
|
||||||
|
@ -228,7 +228,7 @@ class MeetingTime(models.Model):
|
||||||
an_br2_info = NonSession.objects.get(meeting=self.meeting, day_id=self.day_id, non_session_ref=5)
|
an_br2_info = NonSession.objects.get(meeting=self.meeting, day_id=self.day_id, non_session_ref=5)
|
||||||
return "%s %s" % (an_br2_info.time_desc, an_br2_info.non_session_ref)
|
return "%s %s" % (an_br2_info.time_desc, an_br2_info.non_session_ref)
|
||||||
def fbreak_info(self):
|
def fbreak_info(self):
|
||||||
fbreak_info = NonSession.objects.get(meeting-self.meeting, day_id=5, non_session_ref=6)
|
fbreak_info = NonSession.objects.get(meeting=self.meeting, day_id=5, non_session_ref=6)
|
||||||
return "%s %s" % (fbreak_info.time_desc, fbreak_info.non_session_ref)
|
return "%s %s" % (fbreak_info.time_desc, fbreak_info.non_session_ref)
|
||||||
class Meta:
|
class Meta:
|
||||||
db_table = 'meeting_times'
|
db_table = 'meeting_times'
|
||||||
|
|
Loading…
Reference in a new issue