Skip to content

Commit 3341b4c

Browse files
Hasn't broken yet!
1 parent 6ceb9a3 commit 3341b4c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

conditional/blueprints/member_management.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -464,18 +464,15 @@ def member_management_upgrade_user():
464464
db.session.add(new_acct)
465465
for fca in FreshmanCommitteeAttendance.query.filter(FreshmanCommitteeAttendance.fid == fid):
466466
db.session.add(MemberCommitteeAttendance(uid, fca.meeting_id))
467-
# XXX this might fail horribly #yoloswag
468467
db.session.delete(fca)
469468

470469
for fts in FreshmanSeminarAttendance.query.filter(FreshmanSeminarAttendance.fid == fid):
471470
db.session.add(MemberSeminarAttendance(uid, fts.seminar_id))
472-
# XXX this might fail horribly #yoloswag
473471
db.session.delete(fts)
474472

475473
for fhm in FreshmanHouseMeetingAttendance.query.filter(FreshmanHouseMeetingAttendance.fid == fid):
476474
db.session.add(MemberHouseMeetingAttendance(
477475
uid, fhm.meeting_id, fhm.excuse, fhm.attendance_status))
478-
# XXX this might fail horribly #yoloswag
479476
db.session.delete(fhm)
480477

481478
if acct.onfloor_status:
@@ -484,7 +481,6 @@ def member_management_upgrade_user():
484481
if acct.room_number:
485482
ldap_set_roomnumber(uid, acct.room_number)
486483

487-
# XXX this might fail horribly #yoloswag
488484
db.session.delete(acct)
489485

490486
db.session.flush()

0 commit comments

Comments
 (0)