##// END OF EJS Templates
fix(license-import): don't crash if license file is not present, and only run this code for EE
fix(license-import): don't crash if license file is not present, and only run this code for EE

File last commit:

r5530:6b2825dc default
r5538:aa408762 default
Show More
license.py
17 lines | 279 B | text/x-python | PythonLexer
def apply_license(*args, **kwargs):
pass
try:
from rc_license.models import apply_license
except ImportError:
pass
def apply_license_from_file(*args, **kwargs):
pass
try:
from rc_license.models import apply_license_from_file
except ImportError:
pass