mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Fixed bug in gam print cigroups ... descriptionmatchpattern [not] <REMatchPattern>
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
7.28.09
|
||||||
|
|
||||||
|
Fixed bug in `gam print cigroups ... descriptionmatchpattern [not] <REMatchPattern>` that caused a trap.
|
||||||
|
|
||||||
7.28.08
|
7.28.08
|
||||||
|
|
||||||
Updated `gam <UserTypeEntity> print|show chatmessages` to cache the sender UID to email address
|
Updated `gam <UserTypeEntity> print|show chatmessages` to cache the sender UID to email address
|
||||||
@@ -17320,7 +17324,7 @@ Current version of Gam with drive_v3_name_names = false
|
|||||||
Owner,title,parents,parents.0.id,parents.1.id
|
Owner,title,parents,parents.0.id,parents.1.id
|
||||||
testuser@domain.com,TestFile,2,PPPP1111,PPPP2222
|
testuser@domain.com,TestFile,2,PPPP1111,PPPP2222
|
||||||
|
|
||||||
Current version of Gam with drive_v3_name_names = true
|
Current version of Gam with drive_v3_name_names = true
|
||||||
Owner,name,parents
|
Owner,name,parents
|
||||||
testuser@domain.com,TestFile,PPPP1111 PPPP2222
|
testuser@domain.com,TestFile,PPPP1111 PPPP2222
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
||||||
__version__ = '7.28.08'
|
__version__ = '7.28.09'
|
||||||
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
||||||
|
|
||||||
#pylint: disable=wrong-import-position
|
#pylint: disable=wrong-import-position
|
||||||
@@ -34700,10 +34700,10 @@ def checkGroupMatchPatterns(groupEmail, group, matchPatterns):
|
|||||||
return False
|
return False
|
||||||
else: # field in {'name', 'displayName', 'description'}:
|
else: # field in {'name', 'displayName', 'description'}:
|
||||||
if not matchp['not']:
|
if not matchp['not']:
|
||||||
if not matchp['pattern'].match(group[field]):
|
if not matchp['pattern'].match(group.get(field, '')):
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
if matchp['pattern'].match(group[field]):
|
if matchp['pattern'].match(group.get(field, '')):
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user