Changeset ac1aa3 in indico for indico/MaKaC/services/implementation/reviewing.py
- Timestamp:
- 03/02/11 14:03:36 (2 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
- Children:
- ddf66a
- Parents:
- 4bd61a
- git-author:
- Alexis Castilla Hernandez <alexis.castilla.hernandez@…> (01/24/11 17:43:15)
- git-committer:
- Jose Benito <jose.benito.gonzalez@…> (03/02/11 14:03:36)
- File:
-
- 1 edited
-
indico/MaKaC/services/implementation/reviewing.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/services/implementation/reviewing.py
r4bd61a rac1aa3 947 947 AbstractReviewingBase._checkParams(self) 948 948 self._value = self._params.get("value") # value is the question id 949 950 def _getAnswer(self): 951 self._confAbstractReview.removeReviewingQuestion(self._value) 949 self._keepJud = self._params.get("keepJud") # keep the previous judgements of the question 950 951 def _getAnswer(self): 952 # remove the question 953 self._confAbstractReview.removeReviewingQuestion(self._value, self._keepJud) 954 if not self._keepJud: 955 # Purge all the judgements already exist with answers of this question 956 self._conf.getAbstractMgr().removeAnswersOfQuestion(self._value) 957 self._conf.getAbstractMgr().recalculateAbstractsRating(self._confAbstractReview.getScaleLower(), self._confAbstractReview.getScaleHigher()) 952 958 reviewingQuestions = self._confAbstractReview.getReviewingQuestions() 959 # Build the answer 953 960 fossils = [] 954 961 for question in reviewingQuestions:
Note: See TracChangeset
for help on using the changeset viewer.
