Skip to content

Commit

Permalink
Fix lint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
neerajtickoo committed Nov 18, 2024
1 parent 7b35ea3 commit 3859d21
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions rpe/engines/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,11 @@ def evaluate(self, resource):

# These are user-provided modules, we need to catch any exception
except Exception as e:
print("Evaluation exception. Policy: {0}, Message: {1}, Exception Stacktrace: {2}".format(
policy_name, repr(e), traceback.format_exc()
))
print(
"Evaluation exception. Policy: {0}, Message: {1}, Exception Stacktrace: {2}".format(
policy_name, repr(e), traceback.format_exc()
)
)
return evals

def _legacy_eval(self, resource, policy_name, policy_cls):
Expand Down

0 comments on commit 3859d21

Please sign in to comment.