Generalize expression to find group settings values (#994)

This commit is contained in:
Ross Scroggs
2019-08-12 07:41:17 -07:00
committed by Jay Lee
parent 7e4d0da8fb
commit 413924b11a

View File

@@ -8863,7 +8863,7 @@ def doCreateUser():
def GroupIsAbuseOrPostmaster(emailAddr):
return emailAddr.startswith('abuse@') or emailAddr.startswith('postmaster@')
GROUP_SETTINGS_LIST_PATTERN = re.compile(r'([A-Z][A-Z_]+[A-Z]?):')
GROUP_SETTINGS_LIST_PATTERN = re.compile(r'([A-Z][A-Z_]+[A-Z]?)')
def getGroupAttrValue(myarg, value, gs_object, gs_body, function):
if myarg == 'collaborative':