Changeset 8027


Ignore:
Timestamp:
Sep 6, 2018, 9:14:19 AM (12 months ago)
Author:
hectorgh
Message:

fixed get_all_passwords

File:
1 edited

Legend:

Unmodified
Added
Removed
  • n4d-server-plugins/trunk/fuentes/server-install-files/usr/share/n4d/python-plugins/Golem.py

    r8024 r8027  
    730730       
    731731        def get_all_passwords(self,force_teachers=True):
    732                 list=self.ldap.get_students_passwords()
     732                slist=self.ldap.get_students_passwords()
    733733                if not force_teachers:
    734734                        list2=self.pw.get_passwords()
    735735                else:
    736                         list2=self.ldap.get_teachers_passwords()
     736                        list2=self.get_teachers_passwords()
    737737                for item in list2:
    738                         list.append(item)
    739                 return self.quicksort(list)
     738                        slist.append(item)
     739                return self.quicksort(slist)
    740740               
    741741        #def get_all_passwords
Note: See TracChangeset for help on using the changeset viewer.