Commit bb02a24d authored by Vincent Pelletier's avatar Vincent Pelletier

POSKeyError only uses one argument.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2243 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 705aa9ef
......@@ -83,7 +83,7 @@ class Storage(BaseStorage.BaseStorage,
try:
return self.app.loadSerial(oid=oid, serial=serial)
except NEOStorageNotFoundError:
raise POSException.POSKeyError (oid, serial)
raise POSException.POSKeyError(oid)
def loadBefore(self, oid, tid):
try:
......
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