[petsc-dev] Unguarded framework.logClear() in config/configure.py
Ham, David A
david.ham at imperial.ac.uk
Wed Feb 19 08:37:46 CST 2020
Dear all,
I have a user reporting a petsc build fail on line 517 of config/configure.py because framework is None.
This line was added by Barry in: https://gitlab.com/petsc/petsc/-/commit/f8c648457d28782525df1eae155c6b3ed2cce293
However the same line occurs three lines after, this time guarded by “if not framework is None:” I wonder if the new logClear should be there at all…
The code in question is:
framework.logClear()
print(msg)
if not framework is None:
framework.logClear()
Regards,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20200219/232aae71/attachment.html>
More information about the petsc-dev
mailing list