Michael Hall has proposed merging 
lp:~mhall119/loco-directory/migration_updatetime_fix into lp:loco-directory.

Requested reviews:
  loco-directory-dev (loco-directory-dev)


Removes the launchpad calls to get timezone for user profiles during data 
migration because it was taking too long to run.
-- 
https://code.launchpad.net/~mhall119/loco-directory/migration_updatetime_fix/+merge/35026
Your team loco-directory-dev is requested to review the proposed merge of 
lp:~mhall119/loco-directory/migration_updatetime_fix into lp:loco-directory.
=== modified file 'loco_directory/teams/migrations/0006_migrate_profile_fields.py'
--- loco_directory/teams/migrations/0006_migrate_profile_fields.py	2010-08-28 15:37:03 +0000
+++ loco_directory/teams/migrations/0006_migrate_profile_fields.py	2010-09-09 19:09:40 +0000
@@ -12,7 +12,7 @@
     if created:
         # set real name as lpid for now, we get the name later on via cronjob
         profile.realname = lpid
-        profile.tz = get_user_timezone(lpid)
+#        profile.tz = get_user_timezone(lpid) # Left out because it was causing the migration to take too long
         profile.save()
     return profile
 

_______________________________________________
Mailing list: https://launchpad.net/~loco-directory-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~loco-directory-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to