~mhall119/summit/support-short-broadcast-url

« back to all changes in this revision

Viewing changes to summit/schedule/models/meetingmodel.py

  • Committer: Tarmac
  • Author(s): mhall119, Michael Hall
  • Date: 2013-02-27 19:00:45 UTC
  • mfrom: (491.1.1 trunk)
  • Revision ID: tarmac@geekpad-20130227190045-2qcnvkkgd8atfpu2
[r=chrisjohnston] Preserve required attendees

Show diffs side-by-side

added added

removed removed

Lines of Context:
497
497
                    )[0]
498
498
 
499
499
                participant.from_launchpad = True
500
 
                if required:
501
 
                    participant.participation = 'INTERESTED'
502
 
                else:
503
 
                    participant.participation = 'ATTENDING'
 
500
                if not participant.participation == 'REQUIRED':
 
501
                    if required:
 
502
                        participant.participation = 'INTERESTED'
 
503
                    else:
 
504
                        participant.participation = 'ATTENDING'
504
505
                participant.save()
505
506
            except ObjectDoesNotExist:
506
507
                pass