Changeset f45921 in indico


Ignore:
Timestamp:
04/28/11 15:36:43 (2 years ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
67b77b
Parents:
b63fac
git-author:
Pedro Ferreira <jose.pedro.ferreira@…> (04/28/11 15:34:48)
git-committer:
Pedro Ferreira <jose.pedro.ferreira@…> (04/28/11 15:36:43)
Message:

[FIX] linkedTo could be shared by users

  • If Avatars were created in the same process;
  • Now using deep copy instead of shallow;
File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/user.py

    r9484ea5 rf45921  
    5353import base64 
    5454from xml.dom.minidom import parseString 
    55 from copy import copy 
     55from copy import deepcopy 
    5656 
    5757"""Contains the classes that implement the user management subsystem 
     
    693693 
    694694    def resetLinkedTo(self): 
    695         self.linkedTo = copy(self.linkedToBase) 
     695        self.linkedTo = deepcopy(self.linkedToBase) 
    696696        self._p_changed = 1 
    697697 
Note: See TracChangeset for help on using the changeset viewer.