migrate questionenums to enums
Bug #771321 reported by
Curtis Hovey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Curtis Hovey |
Bug Description
Move and rename questionenums to the newer standard of enums. Consolidate enums into that module.
Related branches
lp:~sinzui/launchpad/question-enums-0
- Curtis Hovey (community): Approve (code)
-
Diff: 757 lines (+74/-83)36 files modifiedlib/canonical/launchpad/database/launchpadstatistic.py (+2/-2)
lib/lp/answers/browser/faqcollection.py (+3/-3)
lib/lp/answers/browser/question.py (+2/-2)
lib/lp/answers/browser/questiontarget.py (+1/-1)
lib/lp/answers/browser/tests/views.txt (+1/-1)
lib/lp/answers/doc/expiration.txt (+1/-1)
lib/lp/answers/doc/karma.txt (+1/-1)
lib/lp/answers/doc/notifications.txt (+1/-1)
lib/lp/answers/doc/person.txt (+5/-4)
lib/lp/answers/doc/projectgroup.txt (+1/-1)
lib/lp/answers/doc/questionsets.txt (+3/-3)
lib/lp/answers/doc/questiontarget.txt (+2/-2)
lib/lp/answers/doc/workflow.txt (+2/-2)
lib/lp/answers/enums.py (+7/-1)
lib/lp/answers/interfaces/question.py (+1/-1)
lib/lp/answers/interfaces/questioncollection.py (+1/-7)
lib/lp/answers/interfaces/questionmessage.py (+1/-2)
lib/lp/answers/interfaces/questionreopening.py (+1/-1)
lib/lp/answers/interfaces/questionsperson.py (+2/-4)
lib/lp/answers/interfaces/questiontarget.py (+2/-2)
lib/lp/answers/karma.py (+2/-2)
lib/lp/answers/mail/handler.py (+1/-1)
lib/lp/answers/model/question.py (+3/-5)
lib/lp/answers/model/questionmessage.py (+1/-1)
lib/lp/answers/model/questionreopening.py (+1/-1)
lib/lp/answers/model/questionsperson.py (+1/-3)
lib/lp/answers/notification.py (+1/-1)
lib/lp/answers/tests/emailinterface.txt (+1/-1)
lib/lp/answers/tests/test_question_workflow.py (+1/-1)
lib/lp/registry/browser/distributionsourcepackage.py (+1/-1)
lib/lp/registry/browser/person.py (+5/-5)
lib/lp/registry/model/distribution.py (+8/-9)
lib/lp/registry/model/product.py (+5/-5)
lib/lp/registry/model/projectgroup.py (+1/-1)
lib/lp/registry/model/sourcepackage.py (+1/-3)
scripts/close-account.py (+1/-1)
tags: |
added: qa-untestable removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r12923 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12923>.