fix wrong print_exc usage, see bug 6223
svn: r20788
This commit is contained in:
parent
0f35aa4aa3
commit
100eeec905
@ -231,7 +231,7 @@ class BasePluginManager(object):
|
||||
return _module
|
||||
except:
|
||||
import traceback
|
||||
print(traceback.print_exc())
|
||||
traceback.print_exc()
|
||||
self.__failmsg_list.append((filename, sys.exc_info(), pdata))
|
||||
|
||||
return None
|
||||
|
@ -1015,7 +1015,7 @@ class RelationshipCalculator(object):
|
||||
pmap, depth, stoprecursemap)
|
||||
except:
|
||||
import traceback
|
||||
print(traceback.print_exc())
|
||||
traceback.print_exc()
|
||||
return
|
||||
|
||||
def collapse_relations(self, relations):
|
||||
|
Loading…
Reference in New Issue
Block a user