Ejemplo n.º 1
0
 def _checkParams(self):
     UserModificationBase._checkParams(self)
     ConferenceReviewingBase._checkParams(self)
     if self._params.has_key('contributions'):
         pm = ParameterManager(self._params)
         contributionsIds = pm.extract("contributions", pType=list, allowEmpty=False)
         self._contributions = [self._conf.getContributionById(contributionId) for contributionId in contributionsIds]
     else:
         raise ServiceError("ERR-REV2",_("List of contribution ids not set"))
Ejemplo n.º 2
0
 def _checkParams(self):
     UserModificationBase._checkParams(self)
     ConferenceReviewingBase._checkParams(self)
     if self._params.has_key("contributions"):
         pm = ParameterManager(self._params)
         contributionsIds = {int(c) for c in pm.extract("contributions", pType=list, allowEmpty=False)}
         self._contributions = [contrib for contrib in self._event.contributions if contrib.id in contributionsIds]
     else:
         raise ServiceError("ERR-REV2", _("List of contribution ids not set"))
Ejemplo n.º 3
0
 def _checkParams(self):
     UserModificationBase._checkParams(self)
     ConferenceReviewingBase._checkParams(self)
     if self._params.has_key('contributions'):
         pm = ParameterManager(self._params)
         contributionsIds = pm.extract("contributions", pType=list, allowEmpty=False)
         self._contributions = [self._conf.getContributionById(contributionId) for contributionId in contributionsIds]
     else:
         raise ServiceError("ERR-REV2",_("List of contribution ids not set"))
Ejemplo n.º 4
0
 def _checkParams(self):
     UserModificationBase._checkParams(self)
     ConferenceReviewingBase._checkParams(self)
     if self._params.has_key('contributions'):
         pm = ParameterManager(self._params)
         contributionsIds = {int(c) for c in pm.extract("contributions", pType=list, allowEmpty=False)}
         self._contributions = [contrib for contrib in self._event.contributions
                                if contrib.id in contributionsIds]
     else:
         raise ServiceError("ERR-REV2",_("List of contribution ids not set"))
Ejemplo n.º 5
0
 def _checkParams(self):
     UserModificationBase._checkParams(self)
     ConferenceReviewingPRMBase._checkParams(self)
Ejemplo n.º 6
0
 def _checkParams(self):
     CollaborationChangePluginManagersBase._checkParams(self)
     UserModificationBase._checkParams(self)
Ejemplo n.º 7
0
 def _checkParams(self):
     UserModificationBase._checkParams(self)
     ConferenceReviewingPRMBase._checkParams(self)
Ejemplo n.º 8
0
 def _checkParams(self):
     CollaborationChangePluginManagersBase._checkParams(self)
     UserModificationBase._checkParams(self)
Ejemplo n.º 9
0
 def _checkParams(self):
     PluginOptionsBase._checkParams(self)
     UserModificationBase._checkParams(self)
Ejemplo n.º 10
0
 def _checkParams(self):
     PluginOptionsBase._checkParams(self)
     UserModificationBase._checkParams(self)