fix wrong print_exc usage, see bug 6223

svn: r20788
This commit is contained in:
Benny Malengier 2012-12-18 11:17:47 +00:00
parent 0f35aa4aa3
commit 100eeec905
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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):