Skip to content

Commit

Permalink
Add compatibility with Python 3 (exec() function instead of statement).
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Mar 15, 2017
1 parent 9d15f67 commit d07e641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bnlcrl/pkcli/simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
config_crl = read_json(DEFAULTS_FILE_CRL)
functions_list = get_cli_functions(config_crl)
for content in functions_list:
exec content
exec(content)

# Delta and focus:
config_delta = read_json(DEFAULTS_FILE_DELTA)
functions_list = get_cli_functions(config_delta)
for content in functions_list:
exec content
exec(content)

0 comments on commit d07e641

Please sign in to comment.