mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-10-31 15:47:25 +01:00 
			
		
		
		
	Undo mtughan's bugfix from 7f9a1130605fb6b36967f062d3cbcdb73aff8df6, so i can merge jamessan's fix ef8bd817e8b62ede76aa7501a9a8d69af7408efc
This commit is contained in:
		
							parent
							
								
									d433bfc8f0
								
							
						
					
					
						commit
						73e822ca56
					
				| @ -311,10 +311,8 @@ class Value(Group): | ||||
|         if setDefault: | ||||
|             self.setValue(default) | ||||
| 
 | ||||
|     def error(self, message=None): | ||||
|         if message: | ||||
|             s = message | ||||
|         elif self.__doc__: | ||||
|     def error(self): | ||||
|         if self.__doc__: | ||||
|             s = self.__doc__ | ||||
|         else: | ||||
|             s = """%s has no docstring.  If you're getting this message, | ||||
| @ -545,7 +543,7 @@ class Regexp(Value): | ||||
|         self.__parent.__init__(*args, **kwargs) | ||||
| 
 | ||||
|     def error(self, e): | ||||
|         self.__parent.error('%s' % e) | ||||
|         self.__parent.error('Value must be a regexp of the form %s' % e) | ||||
| 
 | ||||
|     def set(self, s): | ||||
|         try: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Daniel Folkinshteyn
						Daniel Folkinshteyn