Commit 6772d446 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Delete some unused variables.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1084 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 86705c29
...@@ -1275,10 +1275,8 @@ def abortTransaction(tid): ...@@ -1275,10 +1275,8 @@ def abortTransaction(tid):
return Packet(ABORT_TRANSACTION, tid) return Packet(ABORT_TRANSACTION, tid)
def askStoreTransaction(tid, user, desc, ext, oid_list): def askStoreTransaction(tid, user, desc, ext, oid_list):
user_len = len(user) lengths = (len(oid_list), len(user), len(desc), len(ext))
desc_len = len(desc) body = [pack('!8sLHHH', tid, *length)]
ext_len = len(ext)
body = [pack('!8sLHHH', tid, len(oid_list), len(user), len(desc), len(ext))]
body.append(user) body.append(user)
body.append(desc) body.append(desc)
body.append(ext) body.append(ext)
......
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