Skip to content

Commit

Permalink
error=sys.exc_info() -> exc_info=True *SIGH*
Browse files Browse the repository at this point in the history
  • Loading branch information
zopyx committed Nov 17, 2006
1 parent 12e780f commit 0da5d54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BTreeFolder2.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def _cleanup(self):
return 1
except AssertionError:
LOG.warn( 'Detected damage to %s. Fixing now.' % path,
error=sys.exc_info())
exc_info=True)
try:
self._tree = OOBTree(self._tree)
mt_index = OOBTree()
Expand All @@ -202,7 +202,7 @@ def _cleanup(self):
self._mt_index = mt_index
except:
LOG.error('Failed to fix %s.' % path,
error=sys.exc_info())
exc_info=True)
raise
else:
LOG.info('Fixed %s.' % path)
Expand Down

0 comments on commit 0da5d54

Please sign in to comment.