/ec/ECQuiz/Products/ECQuiz/ |
H A D | config.py | 36 ret = [type[:-3] for type in ret 37 if type.endswith('.py') and (not type.startswith('__'))]
|
H A D | wikitool.py | 54 if type(parse_tree[0]) is str: 59 if parse_tree and type(parse_tree[0]) is list and str(parse_tree[0][0]).startswith(':'): 100 if type(elem) is list: # Elements must be lists 101 content_type = str(elem[0]); del elem[0] # and should have a type 109 if elem and type(elem[0]) is str: elem_title = elem[0]; del elem[0] 116 if elem and type(elem[0]) is list and str(elem[0][0]).startswith(':'): 143 if elem and type(elem[0]) is str: elem_title = elem[0]; del elem[0] 148 if elem and type(elem[0]) is int: quest.setPoints(elem[0]); del elem[0] 150 if elem and type(elem[0]) is str: quest.setQuestion(elem[0]); del elem[0] 154 if elem and type(ele [all...] |
/ec/ECAssignmentBox/Products/ECAssignmentBox/PlagDetector/Normalize/ |
H A D | normNormal.py | 48 elif type(string) != type(''):
49 raise NoValidArgumentError, 'Input must be of type String.'
|
H A D | normPython.py | 92 elif type(string) != type(''):
93 raise NoValidArgumentError, 'Input must be of type String.'
255 if type(lineNrList[c.posEnd]) == type([]): #TODO: 250107
273 if type(nr) == type([]):
281 if type(nr) == type([]):
293 # if type( [all...] |
/ec/ECSpooler/tests/ |
H A D | ProgrammingBackendTestCase.py | 28 "Result is not an instance of BackendResult; %s" % type(result)) 43 "Result is not an instance of BackendResult; %s" % type(result))
|
H A D | testSpooler.py | 43 self.assertTrue(type(pid) == IntType) 50 self.assertTrue(type(status) == DictType) 56 self.assertTrue(type(backends) == DictType) 62 self.assertTrue(type(backends) == DictType)
|
/ec/ECAssignmentBox/Products/ECAssignmentBox/PlagDetector/Visualize/ |
H A D | dotplot.py | 49 if type(result) != type(PlagResult()):
50 raise NoValidArgumentError, 'Input must be of type PlagResult.'
52 raise NoValidArgumentError, 'Input must be of type PlagResult not None.'
88 raise NoValidArgumentError, 'Input must be of type string not None'
89 elif type(s1) != type("") or type(s2) != type(""):
90 raise NoValidArgumentError, 'Input must be of type strin [all...] |
H A D | patterngram.py | 70 if type(basefile) != type(""):
71 raise NoValidArgumentError, "basefile must be of type string"
72 elif type(ensemble) != type([]):
73 raise NoValidArgumentError, "ensemble must be of type list"
74 elif type(klength) != type(1):
75 raise NoValidArgumentError, "klength must be of type integer"
179 if type(basefil [all...] |
H A D | torc.py | 49 if type(resultList) != type([]):
50 raise NoValidArgumentError, 'Input must be of type list'
55 if type(result) != type(PlagResult()):
56 raise NoValidArgumentError, 'Input list should only contain values of type PlagResult.'
|
/ec/ECAssignmentBox/Products/ECAssignmentBox/PlagDetector/Detection/ |
H A D | algGSTNormal.py | 66 raise NoValidArgumentError, 'input must be of type string not None'
67 if type(s1) != type('') or type(s2) != type(''):
68 raise NoValidArgumentError, 'input must be of type string'
|
H A D | algNGRAM.py | 71 if type(treshold) == type([]):
79 raise NoValidArgumentError, 'input must be of type string not None'
80 if type(s1) != type('') or type(s2) != type(''):
81 raise NoValidArgumentError, 'input must be of type string'
161 if type(treshold) == type([]) [all...] |
H A D | algGST.py | 72 raise NoValidArgumentError, 'input must be of type string not None'
73 if type(s1) != type('') or type(s2) != type(''):
74 raise NoValidArgumentError, 'input must be of type string'
|
/ec/ECAssignmentBox/Products/ECAssignmentBox/PlagDetector/ |
H A D | PlagResult.py | 55 if type(tiles) != type([]):
56 raise NoValidArgumentError, 'tiles must be of type list'
103 if type(value) != type(True):
104 raise NoValidArgumentError, 'Input must be of type boolean.'
|
H A D | PlagChecker.py | 92 if type(stringList) != type([]):
93 raise NoValidArgumentError, 'Input stringList must be of type list.'
94 elif type(idList) != type([]):
95 raise NoValidArgumentError, 'Input idList must be of type list.'
|
/ec/ECSpooler/lib/util/ |
H A D | auth.py | 64 assert type(args) == DictionaryType, \ 65 "Invalid data structure (%s)" % str(type(args)) 76 assert username and type(username) in (StringType, UnicodeType), \ 78 assert password and type(password) in (StringType, UnicodeType), \
|
H A D | QueueItem.py | 22 assert type(data) == dict, 'data in QueueItem must be a dictionary.'
|
/ec/ECSpooler/backends/haskellext/ |
H A D | HaskellExt.py | 111 repeatFields = self.schema.filterFields(type='RepeatField') 130 assert model and type(model) in StringTypes, \ 133 assert submission and type(submission) in StringTypes, \ 170 for field in self.schema.filterFields(type='InputField'):
|
/ec/ECSpooler/backends/xml/doc/ |
H A D | XMLHandbuch.tex | 37 \captionsetup{type=figure} 48 \captionsetup{type=figure} 59 \captionsetup{type=figure} 67 \captionsetup{type=figure} 87 \captionsetup{type=figure} 98 \captionsetup{type=figure} 109 \captionsetup{type=figure} 118 \captionsetup{type=figure} 128 \captionsetup{type=figure} 164 \captionsetup{type [all...] |
/ec/ECSpooler/backends/xml/ |
H A D | XML.py | 177 inputFields = self.schema.filterFields(type='InputField') 182 repeatFields = self.schema.filterFields(type='RepeatField') 240 assert submission and type(submission) in (str, UnicodeType), \ 286 assert submission and type(submission) in (str, UnicodeType), \ 340 assert submission and type(submission) in (str, UnicodeType), \ 349 repeatField = self.schema.filterFields(type='RepeatField')[0]
|
/ec/ECAutoAssessmentBox/Products/ECAutoAssessmentBox/content/ |
H A D | DynamicDataField.py | 59 'type' : 'dynamicdata', 95 if content_instance is not None and type(value) in [StringType, UnicodeType]: 105 LOG.warn('Unhandled type in fields') 115 __traceback_info__ = value, type(value) 159 #if type(data) != DictionaryType:
|
/ec/ECSpooler/backends/keywords/ |
H A D | Keywords.py | 126 repeatFields = self.schema.filterFields(type='RepeatField') 144 assert submission and type(submission) in (StringType,
|
/ec/ECSpooler/lib/ |
H A D | Service.py | 47 assert host and type(host) in StringTypes, \ 50 assert port and type(port) == IntType, \
|
/ec/ECSpooler/backends/cl/ |
H A D | Cl.py | 254 repeatFields = self.schema.filterFields(type='RepeatField') 273 assert model and type(model) in StringTypes, \ 277 assert submission and type(submission) in StringTypes, \ 311 for field in self.schema.filterFields(type='InputField'):
|
/ec/ECSpooler/backends/erlang/ |
H A D | Erlang.py | 187 repeatFields = self.schema.filterFields(type='RepeatField') 207 assert model and type(model) in (StringType, UnicodeType), \ 211 assert submission and type(submission) in (StringType, UnicodeType), \ 279 for field in self.schema.filterFields(type='InputField'):
|
/ec/ECSpooler/backends/haskell/ |
H A D | Haskell.py | 258 repeatFields = self.schema.filterFields(type='RepeatField') 278 assert model and type(model) in StringTypes, \ 281 assert submission and type(submission) in StringTypes, \ 310 for field in self.schema.filterFields(type='InputField'):
|