<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">yes, though I don’t know if this breaks backwards compatibility with python2.<div class=""><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  ">-gideon</span>

</div>
<br class=""><div style=""><blockquote type="cite" class=""><div class="">On Feb 24, 2017, at 1:26 PM, Barry Smith <<a href="mailto:bsmith@mcs.anl.gov" class="">bsmith@mcs.anl.gov</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class="">  Thanks, we'll get this into maint and master ASAP.<br class=""><br class=""><br class=""><blockquote type="cite" class="">On Feb 24, 2017, at 11:46 AM, Gideon Simpson <<a href="mailto:gideon.simpson@gmail.com" class="">gideon.simpson@gmail.com</a>> wrote:<br class=""><br class="">It appears the following modification to petsc_conf.py is sufficient to get PetscBinaryIO.py working:<br class=""><br class="">change:<br class="">if os.environ.has_key('PETSC_DIR’):<br class="">to<br class="">if 'PETSC_DIR' in os.environ:<br class="">and<br class="">if os.environ.has_key('PETSC_ARCH’):<br class="">to<br class="">if 'PETSC_ARCH' in os.environ:<br class=""><br class="">-gideon<br class=""><br class=""></blockquote><br class=""></div></div></blockquote></div><br class=""></div></body></html>