##// END OF EJS Templates
win32mbcs: drop code that was catering to Python 2.3 and earlier
Augie Fackler -
r30476:8a9681b9 default
parent child Browse files
Show More
@@ -138,10 +138,7 b' def wrapname(name, wrapper):'
138 func = getattr(module, name)
138 func = getattr(module, name)
139 def f(*args, **kwds):
139 def f(*args, **kwds):
140 return wrapper(func, args, kwds)
140 return wrapper(func, args, kwds)
141 try:
141 f.__name__ = func.__name__
142 f.__name__ = func.__name__ # fails with Python 2.3
143 except Exception:
144 pass
145 setattr(module, name, f)
142 setattr(module, name, f)
146
143
147 # List of functions to be wrapped.
144 # List of functions to be wrapped.
General Comments 0
You need to be logged in to leave comments. Login now