Ignore:
Timestamp:
Mar 27, 2012, 6:17:14 AM (14 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
32c872e
Parents:
9dfb3d5
git-author:
Alex Dehnert <adehnert@…> (03/27/12 06:17:14)
git-committer:
Alex Dehnert <adehnert@…> (03/27/12 06:17:14)
Message:

Fix space/diffs.py

Apparently sets use update(), not extend().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/space/diffs.py

    rbec7760 r0d5dc3b  
    5959        space_data = self.offices[space_pk]
    6060        for mit_id, old_set in old_access.items():
    61             space_data[mit_id][0].extend(old_set)
     61            space_data[mit_id][0].update(old_set)
    6262        for mit_id, new_set in new_access.items():
    63             space_data[mit_id][1].extend(new_set_set)
     63            space_data[mit_id][1].update(new_set)
    6464
    6565    def add_space_signatories(self, old_time, new_time, ):
Note: See TracChangeset for help on using the changeset viewer.