Commit bf476281 authored by Jacob Holm's avatar Jacob Holm

Fix references to POSKeyError

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