From: W. Trevor King Date: Sat, 26 Jun 2010 21:41:20 +0000 (-0400) Subject: position1 -> position and position2 -> position1 (to match people table) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bc98d1d78a8c4723e02ca7f1732a429043dd234d;p=sitecorepy.git position1 -> position and position2 -> position1 (to match people table) --- diff --git a/sitecore/prof/export_mysql.py b/sitecore/prof/export_mysql.py index 15af27c..3c11877 100644 --- a/sitecore/prof/export_mysql.py +++ b/sitecore/prof/export_mysql.py @@ -161,9 +161,9 @@ Where the relevant categories are first_middle=prof['firstname'], last=prof['lastname'], ) - p.title = prof['position1'] - if len(prof['position2']) > 0: - p.title += ', %s' % prof['position2'] + p.title = prof['position'] + if len(prof['position1']) > 0: + p.title += ', %s' % prof['position1'] p.graduations = [] print prof['degrees'] for degree in prof['degrees']: