Changeset 6b39bc in git


Ignore:
Timestamp:
Jan 17, 2013, 1:00:10 PM (11 years ago)
Author:
Alexander Dreyer <adreyer@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
4255b3043708f588a7d04551706cf38e6aa02ccd
Parents:
1882ae3bcdafc85a9af745c0d551b43747b47f54
Message:
Fix: avoid infinite recursion, if pyobject.so is broken
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/pyobject_setup.cc

    r1882ae r6b39bc  
    3232{
    3333  assume(bbx != NULL);
    34   return (pyobject_load()? NULL: bbx->blackbox_Init(bbx));
     34  return (pyobject_load() || (bbx->blackbox_Init == pyobject_autoload)?
     35          NULL: bbx->blackbox_Init(bbx));
    3536}
    3637
Note: See TracChangeset for help on using the changeset viewer.