Lines Matching refs:str
123 return 'Empty '+str(self.__class__)
126 return str(list(map(str, value)))
127 return str(value)
141 raise KeyError('Could not find value for key '+str(self.key))
146 if isinstance(self.deprecated, str):
175 raise TypeError('Invalid boolean value: '+str(value)+' for key '+str(self.key))
192 return str(value)
196 return 'Empty '+str(self.__class__)
198 return str(map(self.valueName, self.value))
217 raise TypeError('Invalid fuzzy boolean value: '+str(value)+' for key '+str(self.key))
235 raise TypeError('Invalid integer number: '+str(value)+' for key '+str(self.key))
237 …ise ValueError('Number out of range: '+str(value)+' not in ['+str(self.min)+','+str(self.max)+')'+…
255 raise TypeError('Invalid floating point number: '+str(value)+' for key '+str(self.key))
257 …ise ValueError('Number out of range: '+str(value)+' not in ['+str(self.min)+','+str(self.max)+')'+…
279 if not isinstance(value, str):
280 raise TypeError('Invalid directory: '+str(value)+' for key '+str(self.key))
284 raise ValueError('Nonexistent directory: '+str(value)+' for key '+str(self.key))
315 raise ValueError('Invalid directory: '+str(dir)+' for key '+str(self.key))
337 if not isinstance(value, str):
338 raise TypeError('Invalid file: '+str(value)+' for key '+str(self.key))
342 raise ValueError('Nonexistent file: '+str(value)+' for key '+str(self.key))
373 raise ValueError('Invalid file: '+str(file)+' for key '+str(self.key))
438 raise ValueError('Invalid executable: '+str(value)+' for key '+str(self.key))
457 …ise ValueError('Invalid string '+str(value)+'. You must give a string satisfying "'+str(self.regEx…
472 return str(value)
476 return 'Empty '+str(self.__class__)
478 return str(map(self.valueName, self.value))
493 value = str(value)
495 raise TypeError('Invalid download value: '+str(value)+' for key '+str(self.key))
496 if isinstance(value, str) and value.startswith('git@'):
499 if isinstance(value, str):
502 raise ValueError('Invalid download location: '+str(value)+' for key '+str(self.key))