Commits

Walter Dörwald committed a330948

ImageSizeFormatError hatte noch ein lineno im Kopf.

Comments (0)

Files changed (1)

 class IllegalElementError(Error):
 	"""
 	exception that is raised, when an illegal element is encountered
-	(i.e. one that isn't registered via registerElement
+	(i.e. one that isn't registered via registerElement)
 	"""
 
 	def __init__(self,location,name):
 	exception that is raised, when XSC can't format or evaluate image size attributes
 	"""
 
-	def __init__(self,lineno,element,attr):
+	def __init__(self,element,attr):
 		Error.__init__(self,element.location)
 		self.element = element
 		self.attr = attr