Oops - don't put the email in the name field, use the name instead
authorMagnus Hagander <magnus@hagander.net>
Wed, 23 May 2012 14:05:33 +0000 (16:05 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 23 May 2012 14:05:33 +0000 (16:05 +0200)
tools/migrate/migrate_single_account.py

index 3f2902703bd4335836598d1aa1084c1906a1c7a7..79f44951b59067074eb232b1036a34bc272d3a28 100755 (executable)
@@ -79,7 +79,7 @@ if __name__=="__main__":
        pwd = GenPasswd(12)
        print "New password: %s" % pwd
 
-       namepieces = rows[0][2].split(None, 2)
+       namepieces = rows[0][1].split(None, 2)
        if len(namepieces) == 0: namepieces = ['', '']
        if len(namepieces) == 1: namepieces.append('')
        print "Creating new user record..."