##// END OF EJS Templates
release: Bump version 5.3.0 to 5.4.0
release: Bump version 5.3.0 to 5.4.0

File last commit:

r5530:6b2825dc default
r5560:916764d7 default
Show More
license.py
17 lines | 279 B | text/x-python | PythonLexer
feat(license): allow import of license from rhodecode_enterprise.license which got broken after python3 migration
r5530
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