Show
Ignore:
Timestamp:
02/27/04 14:50:12 (20 years ago)
Author:
jalet
Message:

Hopefully the final fix for groups (users and printers)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storage.py

    r1367 r1368  
    2222# 
    2323# $Log$ 
     24# Revision 1.48  2004/02/27 13:50:12  jalet 
     25# Hopefully the final fix for groups (users and printers) 
     26# 
    2427# Revision 1.47  2004/02/27 09:30:33  jalet 
    2528# datelimit wasn't reset when modifying soft and hard limits with the LDAP backend 
     
    571574        for parent in printer.Parents[:] :     
    572575            printer.Parents.extend(self.getParentPrinters(parent)) 
     576        uniquedic = {}     
     577        for parent in printer.Parents : 
     578            uniquedic[parent.Name] = parent 
     579        printer.Parents = uniquedic.values()     
    573580        return printer.Parents 
    574581