##// END OF EJS Templates
Replace exec/eval with proper __import__....
Replace exec/eval with proper __import__. Unfortunately for some very weird reason, this code can't be called as a function, so I inlined a verbatim copy of importstring.import_item.

File last commit:

r4053:b45902e3
r11019:4350decf
Show More
__init__.py
4 lines | 82 B | text/x-python | PythonLexer
try:
from decorator import *
except ImportError:
from _decorator import *