Merge lp://staging/~stylistica/systers/SaveEssay into lp://staging/~systers-dev/systers/development
Proposed by
Sneha Priscilla
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~stylistica/systers/SaveEssay |
Merge into: | lp://staging/~systers-dev/systers/development |
Diff against target: |
106 lines (+43/-0) 3 files modified
Mailman/DlistMemberships.py (+2/-0) Mailman/DlistUtils.py (+31/-0) Mailman/MailList.py (+10/-0) |
To merge this branch: | bzr merge lp://staging/~stylistica/systers/SaveEssay |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nicki Hutchens (community) | Approve | ||
Nicki Hutchens (community) | Approve | ||
Robin J | Approve | ||
Anna SdG | Pending | ||
Review via email: mp+118231@code.staging.launchpad.net |
Description of the change
Storing the essays for future perusal. Includes functions for storing, removing essays in the entry table and to handle change in the email address of a member.
To post a comment you must log in.
Unmerged revisions
- 90. By Sneha Priscilla
- 89. By Sneha Priscilla
-
cleaned up essay storage
- 88. By Sneha Priscilla
- 87. By Sneha Priscilla
-
Added a function to handle change of email id in essay table
- 86. By Sneha Priscilla
-
Removed fullname from the essay table
- 85. By Sneha Priscilla
-
Added spaces in the parameters for stylistical purposes
- 84. By Sneha Priscilla
-
imported DlistUtils
- 83. By Sneha Priscilla
-
Storing the essays for future perusal
I've removed these 3 lines from DlistUtils.py :
if essay == None:
syslog( 'info', 'No essay provided')
return None
This was mainly for my understanding.
In MailList.py
essayObj= DlistUtils. Essay(self)
essayObj. RemoveEssay( emailaddr)
a) why are these two adjacent lines at different indentation levels?
They are not at two different levels. If you browse the code in my branch --> http:// bazaar. launchpad. net/~stylistica /systers/ SaveEssay/ view/head: /Mailman/ MailList. py , they are at the same indentation. I'm not sure why the diff appears so.
b) why are you removing the essay once the person is accepted? The point of saving them was to be able to return to them after the person is a member. Or am I confused?
I'm removing the essay in the ApprovedDeleteM ember function , which means the essay is removed once a member is removed from the list. We are definitely able to return them after a person is a member.