py 2.3 compat for lightwave_import and wizard_curve2tree

This commit is contained in:
2008-10-21 00:21:02 +00:00
parent bc55102eac
commit ff2fcdf34e
3 changed files with 10 additions and 2 deletions

View File

@@ -106,6 +106,12 @@ try:
except:
struct= chunk= cStringIO= None
# python 2.3 has no reversed() iterator. this will only work on lists and tuples
try:
reversed
except:
def reversed(l): return l[::-1]
### # Debuggin disabled in release.
### # do a search replace to enabe debug prints
### DEBUG = False