/ec/ECSpooler/lib/util/ |
H A D | SpoolerQueue.py | 85 id = item.getId() 86 #log.debug('adding new item to queue: %s' % id) 88 assert (not self._queue.has_key(id)), \ 89 "Item '%s' already exists in queue" % (id,) 91 self._queue[id] = item 96 return id 99 def dequeue(self, id=None): 101 Returns the first item or the item for the given id and removes it 107 #log.debug('id: %s' % id) [all...] |
/ec/ECSpooler/lib/data/ |
H A D | dto.py | 44 id = Unicode variable in class:BackendStatus 57 id = Unicode variable in class:Backend 78 id = Unicode variable in class:BackendTestField 92 id = Unicode variable in class:Answer
|
H A D | BackendJob.py | 29 def __init__(self, backend=None, submission=None, data=None, id=None): 38 QueueItem.__init__(self, data, id)
|
H A D | BackendResult.py | 29 def __init__(self, value=None, message=None, data=None, id=None): 38 QueueItem.__init__(self, data, id) 118 r5 = BackendResult(data={'value':'80', 'message':'You have 80%.'}, id='0815')
|
/ec/ECQuiz/Products/ECQuiz/ |
H A D | tools.py | 123 If there is no object in "objList" for an id from "idList", 127 for id in idList: 128 newObjs = filter((lambda obj : getIdFun(obj) == id) , objList) 164 def createObject(context, typeName, id=None): 171 if id is None: 172 id=context.generateUniqueId(typeName) 178 o = context.restrictedTraverse('portal_factory/' + typeName + '/' + id) 180 newId = context.invokeFactory(id=id, type_name=typeName) 182 newId = id [all...] |
H A D | qti.py | 346 id = [string, None][not string] 347 if id: 349 id = str(unicode(id)) 351 oldId = id 352 id = context.generateUniqueId(typeName) 357 'The item will be imported under the id "%s".') 358 % (context.str(oldId), context.str(id)) 360 return id 363 def getChildrenWithId(context, id) [all...] |
H A D | ECQTool.py | 43 id = 'ecq_tool' variable in class:ECQTool 96 def getFullNameById(self, id): 103 member = mtool.getMemberById(id) 107 return id 123 return id
|
H A D | wikitool.py | 111 parent.invokeFactory(id=elem_title,type_name='ECQGroup') 145 parent.invokeFactory(id=elem_title,type_name='ECQExtendedTextQuestion') 175 parent.invokeFactory(id=elem_title,type_name='ECQMCQuestion') 212 quest.invokeFactory(id=answ_title,type_name='ECQMCAnswer') 230 parent.invokeFactory(id=elem_title,type_name='ECQScaleQuestion') 264 quest.invokeFactory(id=answ_title,type_name='ECQScaleAnswer')
|
/ec/ECLecture/Products/ECLecture/ |
H A D | setuphandlers.py | 85 ids = [id for id in indexes if id in pc.indexes()]
|
/ec/ECAssignmentBox/Products/ECAssignmentBox/tool/ |
H A D | ECABTool.py | 58 def __init__(self, id=None): 60 Tool-constructors have no id argument, the id is fixed 117 not result.has_key(tdef.id): 118 result[tdef.id] = { 119 'id': tdef.id, 142 dl.add(transition.id, transition.actbox_name) 174 def getFullNameById(self, id): 183 member = mtool.getMemberById(id) [all...] |
/ec/ECAssignmentBox/Products/ECAssignmentBox/PlagDetector/Visualize/ |
H A D | torc.py | 60 for id in result.getIdentifier():
61 idSet.add(id)
76 #3. arrange the ids along the circle and save the coordinates for each id
86 # use a truetype font and draw the id names
87 for id in idPosDict:
88 draw.text(computeFontPos(font, draw, str(id), idPosDict.get(id), xM, yM),
89 str(id),
122 Returns new id postion -> (x, y)
129 #move id t [all...] |
/ec/ECAssignmentBox/Products/ECAssignmentBox/ |
H A D | setuphandlers.py | 139 ids = [id for id in indexes if id in pc.indexes()]
|
/ec/ECSpooler/tests/ |
H A D | testTestJob.py | 21 self.id = 'x0815z' 23 self.job = BackendJob(data=self.data, id=id)
|
H A D | testTestResult.py | 18 id = 'x0815z' variable in class:testTestResult 19 result = BackendResult(data=data, id=id)
|
/ec/ECSpooler/backends/echo/ |
H A D | Echo.py | 39 id = 'echo' variable in class:Echo
|
/ec/ECSpooler/lib/ |
H A D | Backend.py | 38 id = '' variable in class:Backend 60 assert self.id != '', 'A valid ID is required for this backend.' 110 (self.id, self.version, self.spooler)) 113 self.id, 135 (self.id, self.url, self.spooler,)) 138 spooler.removeBackend(self.auth, self.id, self.url) 165 if backendId != self.id: 201 if backendId != self.id: 210 'id': self.id, [all...] |
H A D | soapwrapper.py | 131 backend.id = values['id'] 176 testField.id = key 193 answer.id = value['id'] 210 answer.id = value['id']
|
/ec/ECAssignmentBox/Products/ECAssignmentBox/PlagDetector/Helper/ |
H A D | GraphicsHelper.py | 38 """Computes the maximal length of an id and returns it."""
42 for id in idSet:
43 textsize = font.getsize(str(id))
|
/ec/ECAssignmentBox/Products/ECAssignmentBox/PlagDetector/ |
H A D | PlagResult.py | 86 def containsIdentifier(self, id):
88 return id==self.id1 or id==self.id2
112 """Sets the algorithm id used for the comparison."""
116 """Gets the algorithm id used for the comparison."""
120 """Sets the normalizer id used for the comparison."""
124 """Gets the normalizer id used for the comparison."""
|
/ec/ECAutoAssessmentBox/Products/ECAutoAssessmentBox/ |
H A D | setuphandlers.py | 160 ids = [id for id in indexes if id in pc.indexes()]
|
/ec/ECSpooler/backends/haskellio/ |
H A D | HaskellIO.py | 51 id = 'haskell-io' variable in class:HaskellIO
|
/ec/ECLecture/Products/ECLecture/skins/eclecture_templates/ |
H A D | ecl_participants_export.py | 79 if (not filter) or (filter and p.id in REQUEST.ids): 80 username = p.id
|
/ec/ECAutoAssessmentBox/Products/ECAutoAssessmentBox/tool/ |
H A D | ECSpoolerTool.py | 68 def __init__(self, id=None): 69 """Tool-constructors have no id argument, the id is fixed 140 id = key 144 dl.add(id, label) 426 Returns the result for a check job with the given job id.
|
/ec/ECAssignmentBox/Products/ECAssignmentBox/browser/ |
H A D | ecabsettings.py | 110 main_set.id = 'ecab_settings_spooler'
|
/ec/ECAssignmentBox/Products/ECAssignmentBox/content/ |
H A D | ECAssignment.py | 46 ECAssignmentSchema['id'].widget.visible = { 205 default_subject = '[${id}] Submission to "${box_title}" by ${student}' 209 mapping={'id': config.PROJECTNAME, 518 for id in principalIds: 519 if self.portal_groups.getGroupById(id): 520 names.append(self.portal_groups.getGroupById(id).getGroupName()) 522 names.append(ecab_utils.getFullNameById(id))
|