"""
For the given site, return all user email addresses that have the 'tech' role.
"""
- #api = getAuthAPI()
+ api = getAuthAPI()
# get site details.
s = api.GetSites(loginbase)[0]
# get people at site
contacts += plc.getTechEmails(self.loginbase)
if PI & roles:
#contacts += [PIEMAIL % self.loginbase]
- contacts += plc.getSliceUserEmails(self.loginbase)
+ contacts += plc.getPIEmails(self.loginbase)
if USER & roles:
contacts += plc.getSliceUserEmails(self.loginbase)
slices = plc.slices(self.loginbase)