本文整理汇总了Python中MaKaC.webinterface.rh.base.RH类的典型用法代码示例。如果您正苦于以下问题:Python RH类的具体用法?Python RH怎么用?Python RH使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了RH类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: _checkParams
def _checkParams( self, params ):
from copy import copy
self._params = copy(params)
RH._checkParams( self, params )
self._addURL = ""
if self._params.has_key( "addURL" ):
self._addURL = self._params["addURL"]
del self._params["addURL"]
self._identityList = self._normaliseListParam(self._params.get("selectedPrincipals",[]))
if self._params.has_key("selectedPrincipals"):
del self._params["selectedPrincipals"]
示例2: _process
def _process(self):
# ConferenceModifBase overrides this with functionality that
# doesn't even belong in there...
return RH._process(self)
示例3: __init__
def __init__(self):
RH.__init__(self)
self._wf = ""
示例4: _checkParams
def _checkParams(self, params):
RH._checkParams(self, params)
self.attachment = Attachment.find_one(id=request.view_args['attachment_id'], is_deleted=False)
示例5: _checkProtection
def _checkProtection(self):
RH._checkProtection(self)
if not self.attachment.can_access(session.user):
raise Forbidden
示例6: __init__
def __init__( self, req ):
RH.__init__( self, req )
self._wf = ""
示例7: __init__
def __init__(self, req=None):
RH.__init__(self)
self._wf = ""