diff engine/extensions/pythonize.py @ 129:9a1529f9625e

* Indentation patch by GreyGhost
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 07 Aug 2008 15:46:46 +0000
parents 4a0efb7baf70
children 48c99636453e
line wrap: on
line diff
--- a/engine/extensions/pythonize.py	Wed Aug 06 22:35:27 2008 +0000
+++ b/engine/extensions/pythonize.py	Thu Aug 07 15:46:46 2008 +0000
@@ -51,7 +51,7 @@
 		except TypeError, e:
 			#print func, e
 			return False
-	
+
 	def createNames(name):
 		for prefix in ('get', 'is', 'are'):
 			if name.startswith(prefix):
@@ -60,7 +60,7 @@
 		settername   = 'set' + new_name
 		propertyname = new_name[0].lower() + new_name[1:]
 		return settername, propertyname
-		
+
 	getter = re.compile(r"^(get|are|is)[A-Z]")
 	for class_ in classes:
 		methods = [(name,attr) for name,attr in class_.__dict__.items()
@@ -75,7 +75,7 @@
 				#print name, settername, "--->",propertyname,'(',method,',',setter,')'
 				setattr(class_,propertyname,property(method,setter))
 		if not getters: continue
-		
+
 		# We need to override the swig setattr function
 		# to get properties to work.
 		class_._property_names = set([name for name,method in getters])