Changes for 2.3 compatibility
authorrgbecker
Wed, 14 Jan 2004 17:28:03 +0000
changeset 2198 ed532ee37452
parent 2197 6549f2ebb21a
child 2199 a103025414f5
Changes for 2.3 compatibility
rl_addons/renderPM/pfm.py
--- a/rl_addons/renderPM/pfm.py	Tue Jan 13 11:22:17 2004 +0000
+++ b/rl_addons/renderPM/pfm.py	Wed Jan 14 17:28:03 2004 +0000
@@ -4,7 +4,7 @@
 	'''Virtual base helper class for structured file scanning'''
 	def _get_struct_fmt(self,info):
 		fmt = '<'
-		for f, None, None in info:
+		for f, _, _ in info:
 			fmt += f
 		return fmt
 
@@ -13,7 +13,7 @@
 		size = struct.calcsize(fmt)
 		T = struct.unpack(fmt,f.read(size))
 		i = 0
-		for None, n, None in info:
+		for _, n, _ in info:
 			setattr(self,n,T[i])
 			i = i + 1