Skip to content

Commit

Permalink
use raise warning in version check
Browse files Browse the repository at this point in the history
Signed-off-by: Cindy Liu <[email protected]>
  • Loading branch information
hcindyl committed Dec 15, 2023
1 parent 775a619 commit fac3337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdl_utils/capdl_linker.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def manifest(cap_symbols, region_symbols, architecture, targets):
"""
jinja2_version = version("jinja2")
if jinja2_version < "2.10":
sys.exit("Jinja2 should be >= 2.10")
raise Warning("Jinja2 should be >= 2.10")

temp_file = open(CSPACE_TEMPLATE_FILE, 'r').read()
template = Environment(loader=BaseLoader).from_string(temp_file)
Expand Down

0 comments on commit fac3337

Please sign in to comment.