##// END OF EJS Templates
extensions: don't give AttributeError bytes message on Python 3...
Augie Fackler -
r33836:06466083 default
parent child Browse files
Show More
@@ -396,8 +396,8 b' def wrapfilecache(cls, propname, wrapper'
396 break
396 break
397
397
398 if currcls is object:
398 if currcls is object:
399 raise AttributeError(
399 raise AttributeError(r"type '%s' has no property '%s'" % (
400 _("type '%s' has no property '%s'") % (cls, propname))
400 cls, propname))
401
401
402 def wrapfunction(container, funcname, wrapper):
402 def wrapfunction(container, funcname, wrapper):
403 '''Wrap the function named funcname in container
403 '''Wrap the function named funcname in container
General Comments 0
You need to be logged in to leave comments. Login now