Ejemplo n.º 1
0
 def __init__(self, params):
     if not self.UNICODE_PARAMS:
         params = unicode_struct_to_utf8(params)
     self._params = params
     self._target = None
     self._startTime = None
     self._endTime = None
     self._doProcess = True
Ejemplo n.º 2
0
 def __init__(self, params):
     if not self.UNICODE_PARAMS:
         params = unicode_struct_to_utf8(params)
     self._reqParams = self._params = params
     self._requestStarted = False
     # Fill in the aw instance with the current information
     self._aw = AccessWrapper()
     self._aw.setUser(session.avatar)
     self._target = None
     self._startTime = None
     self._endTime = None
     self._doProcess = True  #Flag which indicates whether the RH process
Ejemplo n.º 3
0
 def __init__(self, params):
     if not self.UNICODE_PARAMS:
         params = unicode_struct_to_utf8(params)
     self._reqParams = self._params = params
     self._requestStarted = False
     # Fill in the aw instance with the current information
     self._aw = AccessWrapper()
     self._aw.setUser(session.avatar)
     self._target = None
     self._startTime = None
     self._endTime = None
     self._doProcess = True  #Flag which indicates whether the RH process
                             #   must be carried out; this is useful for
                             #   the checkProtection methods
     self._tempFilesToDelete = []
Ejemplo n.º 4
0
 def __init__(self, params):
     if not self.UNICODE_PARAMS:
         params = unicode_struct_to_utf8(params)
     self._reqParams = self._params = params
     self._requestStarted = False
     # Fill in the aw instance with the current information
     self._aw = AccessWrapper()
     self._aw.setUser(session.avatar)
     self._target = None
     self._startTime = None
     self._tohttps = request.is_secure
     self._endTime = None
     self._doProcess = True  #Flag which indicates whether the RH process
                             #   must be carried out; this is useful for
                             #   the checkProtection methods
     self._tempFilesToDelete = []
     self._redisPipeline = None
Ejemplo n.º 5
0
def decode(s):
    return unicode_struct_to_utf8(loads(s))
Ejemplo n.º 6
0
 def __init__(self, params):
     if not self.UNICODE_PARAMS:
         params = unicode_struct_to_utf8(params)
     self._params = params
Ejemplo n.º 7
0
 def __init__(self, params):
     if not self.UNICODE_PARAMS:
         params = unicode_struct_to_utf8(params)
     self._params = params