Commit 9b8ee8b5 authored by Jeremy Hylton's avatar Jeremy Hylton

Remove feeble string exception that obscured actual cause of error.

parent 10882363
......@@ -13,7 +13,7 @@
##############################################################################
"""Database connection support
$Id: Connection.py,v 1.96 2003/06/13 17:00:04 jeremy Exp $"""
$Id: Connection.py,v 1.97 2003/06/13 17:03:39 jeremy Exp $"""
from __future__ import nested_scopes
......@@ -153,11 +153,7 @@ class Connection(ExportImport.ExportImport):
unpickler=Unpickler(file)
unpickler.persistent_load=self._persistent_load
try:
object = unpickler.load()
except:
raise "Could not load oid %s, pickled data in traceback info may\
contain clues" % (oid)
object = unpickler.load()
klass, args = object
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment