Commit ce1519a1 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix last partition table ID access, through PT instance instead of app

attribute.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1209 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 921c7ba8
...@@ -34,7 +34,7 @@ class VerificationHandler(MasterHandler): ...@@ -34,7 +34,7 @@ class VerificationHandler(MasterHandler):
def handleAnswerLastIDs(self, conn, packet, loid, ltid, lptid): def handleAnswerLastIDs(self, conn, packet, loid, ltid, lptid):
app = self.app app = self.app
# If I get a bigger value here, it is dangerous. # If I get a bigger value here, it is dangerous.
if app.loid < loid or app.ltid < ltid or app.lptid < lptid: if app.loid < loid or app.ltid < ltid or app.pt.getID() < lptid:
logging.critical('got later information in verification') logging.critical('got later information in verification')
raise VerificationFailure raise VerificationFailure
......
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