diff engine/extensions/pychan/__init__.py @ 188:06dddc96ce54

* Fixed some space and tab mixing * Fixed a small bug in manager.py, thanks to phoku for the pointer.
author nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 26 Feb 2009 11:26:01 +0000
parents 3fe0e68f4269
children 54bfd1015b35
line wrap: on
line diff
--- a/engine/extensions/pychan/__init__.py	Wed Feb 25 20:58:09 2009 +0000
+++ b/engine/extensions/pychan/__init__.py	Thu Feb 26 11:26:01 2009 +0000
@@ -163,18 +163,18 @@
 
 The font definition files are in the following format::
 	[Font/FIRST_FONT_NAME]
-	
+
 	type: truetype
 	source: path/to/font.ttf
 	# The font size in point
 	size: 30
-	
+
 	[Font/SECOND_FONT_NAME]
-	
+
 	type: truetype
 	source: content/fonts/samanata.ttf
 	size: 8
-	
+
 	# And so on.
 
 I hope the example is clear enough ... Other options you can set:
@@ -241,7 +241,7 @@
 	"""
 	This has to be called before any other pychan methods can be used.
 	It sets up a manager object which is available under pychan.manager.
-	
+
 	@param engine: The FIFE engine object.
 	"""
 	from manager import Manager
@@ -292,7 +292,7 @@
 	def _setAttr(self,obj,name,value):
 		if not hasattr(obj.__class__,'ATTRIBUTES'):
 			raise PyChanException("The registered widget/spacer class %s does not supply an 'ATTRIBUTES'."
-				% repr(obj))
+								  % repr(obj))
 		try:
 			for attr in obj.ATTRIBUTES:
 				if attr.name == name: