Changeset 1721 for WAeUP_SRP/trunk


Ignore:
Timestamp:
28 Apr 2007, 09:42:26 (18 years ago)
Author:
Henrik Bettermann
Message:

changes in WAeUPTool undone

Location:
WAeUP_SRP/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Students.py

    r1720 r1721  
    578578        no_certificate = "no certificate %s" % format
    579579        open("%s/import/%s_not_imported.csv" % (i_home,name),"w").write('\n'.join(no_import))
    580         logger = logging.getLogger('Students.StudentsFolder.createNewStudents')
     580        logger = logging.getLogger('Students.StudentsFolder.createStudents')
    581581        logger.info('Start loading from %s.csv' % name)
    582582        certs = {}
  • WAeUP_SRP/trunk/WAeUPTool.py

    r1720 r1721  
    9393        sid = "%c%d" % (letter,r.randint(99999,1000000))
    9494        students = self.portal_url.getPortalObject().campus.students
    95         while hasattr(students, sid):
     95##        while hasattr(students, sid):
     96##            sid = "%c%d" % (letter,r.randint(99999,1000000))
     97        while self.students_catalog(id = sid):
    9698            sid = "%c%d" % (letter,r.randint(99999,1000000))
    97 ##        while self.students_catalog(id = sid):
    98 ##            sid = "%c%d" % (letter,r.randint(99999,1000000))
    9999        return sid
    100100    ###)
Note: See TracChangeset for help on using the changeset viewer.