Skip to content

Commit

Permalink
Remove misplaced "state, "'s
Browse files Browse the repository at this point in the history
  • Loading branch information
lefticus committed Nov 13, 2020
1 parent 16efb27 commit 3fa2195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EnergyPlus/PluginManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ namespace PluginManagement {
Py_DECREF(pModuleName);

if (pyth_module == nullptr) {
EnergyPlus::ShowFatalError(state, "Cannot find 'traceback' module in reportPythonError(state, ), this is weird");
EnergyPlus::ShowFatalError(state, "Cannot find 'traceback' module in reportPythonError(), this is weird");
return;
}

Expand All @@ -677,7 +677,7 @@ namespace PluginManagement {

// traceback.format_exception returns a list, so iterate on that
if (!pyth_val || !PyList_Check(pyth_val)) { // NOLINT(hicpp-signed-bitwise)
EnergyPlus::ShowFatalError(state, "In reportPythonError(state, ), traceback.format_exception did not return a list.");
EnergyPlus::ShowFatalError(state, "In reportPythonError(), traceback.format_exception did not return a list.");
}

unsigned long numVals = PyList_Size(pyth_val);
Expand Down

1 comment on commit 3fa2195

@nrel-bot-3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove_round_trim_cleanup_formatting (lefticus) - x86_64-MacOS-10.15-clang-11.0.0: Build Failed

Failures:\n

API Test Summary

  • Failed: 6
  • notrun: 3

integration Test Summary

  • Passed: 2
  • Failed: 717

regression Test Summary

  • Passed: 715
  • Failed: 2

Build Badge Test Badge

Please sign in to comment.