Skip to content

Commit 01f0baa

Browse files
committed
Fix some undefined names reported by pyflakes
- Legacy-Id: 213
1 parent faf885a commit 01f0baa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/proceedings/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def acronym_name(self):
3232
else:
3333
acronym_name = Acronym.objects.get(pk=self.group_acronym_id).name
3434
if interim:
35-
return "i" + acronym
35+
return acronym_name + " (interim)"
3636
return acronym_name
3737
def area(self):
3838
if self.irtf:
@@ -228,7 +228,7 @@ def an_br2_info(self):
228228
an_br2_info = NonSession.objects.get(meeting=self.meeting, day_id=self.day_id, non_session_ref=5)
229229
return "%s %s" % (an_br2_info.time_desc, an_br2_info.non_session_ref)
230230
def fbreak_info(self):
231-
fbreak_info = NonSession.objects.get(meeting-self.meeting, day_id=5, non_session_ref=6)
231+
fbreak_info = NonSession.objects.get(meeting=self.meeting, day_id=5, non_session_ref=6)
232232
return "%s %s" % (fbreak_info.time_desc, fbreak_info.non_session_ref)
233233
class Meta:
234234
db_table = 'meeting_times'

0 commit comments

Comments
 (0)