Michael Hall has proposed merging lp:~mhall119/loco-directory/stats-patch into
lp:~paultag/loco-directory/stats-patch.
Requested reviews:
loco-directory-dev (loco-directory-dev)
Splice rather than replace.
--
https://code.launchpad.net/~mhall119/loco-directory/stats-patch/+merge/30427
Your team loco-directory-dev is requested to review the proposed merge of
lp:~mhall119/loco-directory/stats-patch into
lp:~paultag/loco-directory/stats-patch.
=== modified file 'loco_directory/teams/management/commands/lpupdate.py'
--- loco_directory/teams/management/commands/lpupdate.py 2010-07-20 15:21:18 +0000
+++ loco_directory/teams/management/commands/lpupdate.py 2010-07-20 15:29:39 +0000
@@ -56,7 +56,7 @@
count = 0
for member in members:
try:
- nickname = member.member_link.replace('%s~'%lp._root_uri, '')
+ nickname = member.member_link[len(str(lp._root_uri))+1:]
d = member.date_joined
posix_join_date = time.mktime(d.timetuple())
membership.append({ "nick" : nickname, "join" : posix_join_date })
_______________________________________________
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