Commit 9c75c305 authored by Jacob Holm's avatar Jacob Holm

Fix references to POSKeyError

parent 2f720e4c
......@@ -923,7 +923,7 @@ class ClientStorage(object):
if self.shared_blob_dir:
# We're using a server shared cache. If the file isn't
# here, it's not anywhere.
raise POSKeyError("No blob file", oid, serial)
raise POSException.POSKeyError("No blob file", oid, serial)
# First, we'll create the directory for this oid, if it doesn't exist.
targetpath = self.fshelper.getPathForOID(oid)
......@@ -986,7 +986,7 @@ class ClientStorage(object):
if self._have_blob(blob_filename, oid, serial):
return blob_filename
raise POSKeyError("No blob file", oid, serial)
raise POSException.POSKeyError("No blob file", oid, serial)
finally:
lock.close()
......
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