[1888] in Moira Commits

home help back first fref pref prev next nref lref last post

/svn/moira r4029 - trunk/moira/regtape

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Thu Mar 3 16:21:22 2011

Date: Thu, 3 Mar 2011 16:21:16 -0500
From: Garry Zacheiss <zacheiss@MIT.EDU>
Message-Id: <201103032121.p23LLGoH007024@drugstore.mit.edu>
To: moira-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: zacheiss
Date: 2011-03-03 16:21:15 -0500 (Thu, 03 Mar 2011)
New Revision: 4029

Modified:
   trunk/moira/regtape/staff.pc
Log:
People with 'professional' in their titles shouldn't be class FACULTY.

Modified: trunk/moira/regtape/staff.pc
===================================================================
--- trunk/moira/regtape/staff.pc	2011-01-25 21:17:50 UTC (rev 4028)
+++ trunk/moira/regtape/staff.pc	2011-03-03 21:21:15 UTC (rev 4029)
@@ -239,7 +239,8 @@
   e.xtitle = strtrim(title);
 
   e.type = "MITS";
-  if (strstr(uppercase(e.xtitle), "PROF") ||
+  if ((strstr(uppercase(e.xtitle), "PROF") &&
+       !strstr(uppercase(e.xtitle), "PROFESSION")) ||
       strstr(uppercase(e.xtitle), "LECTURE"))
     e.type = "FACULTY";
   if (!strcmp(e.dept, "LINCOLN LAB"))


home help back first fref pref prev next nref lref last post