Browse Source

Merge "Fix board sync errors"

changes/30/431130/1
Jenkins 4 years ago
committed by Gerrit Code Review
parent
commit
873899734e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      boartty/sync.py

+ 2
- 2
boartty/sync.py View File

@ -701,7 +701,7 @@ class SyncBoardTask(Task):
position=remote_lane['position'],
created=remote_created)
else:
lane = session.getLane(remote_lane['id'])
lane = session.getLaneByID(remote_lane['id'])
lane.updated = parseDateTime(remote_lane['updated_at'])
t = SyncWorklistTask(remote_lane['worklist']['id'],
priority=self.priority)
@ -794,7 +794,7 @@ class SyncWorklistTask(Task):
for local_item in worklist.items[:]:
if local_item.id not in remote_item_ids:
session.delete(item)
session.delete(local_item)
def run(self, sync):
app = sync.app


Loading…
Cancel
Save