gam7 7.5.8__py3-none-any.whl → 7.5.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of gam7 might be problematic. Click here for more details.
- gam/__init__.py +9 -5
- gam/googleapiclient/version.py +1 -1
- {gam7-7.5.8.dist-info → gam7-7.5.9.dist-info}/METADATA +1 -1
- {gam7-7.5.8.dist-info → gam7-7.5.9.dist-info}/RECORD +7 -7
- {gam7-7.5.8.dist-info → gam7-7.5.9.dist-info}/WHEEL +0 -0
- {gam7-7.5.8.dist-info → gam7-7.5.9.dist-info}/entry_points.txt +0 -0
- {gam7-7.5.8.dist-info → gam7-7.5.9.dist-info}/licenses/LICENSE +0 -0
gam/__init__.py
CHANGED
|
@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
|
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
|
28
|
-
__version__ = '7.05.
|
|
28
|
+
__version__ = '7.05.09'
|
|
29
29
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
|
30
30
|
|
|
31
31
|
#pylint: disable=wrong-import-position
|
|
@@ -909,6 +909,8 @@ def getBoolean(defaultValue=True):
|
|
|
909
909
|
Cmd.Advance()
|
|
910
910
|
return False
|
|
911
911
|
if defaultValue is not None:
|
|
912
|
+
if not Cmd.Current().strip(): # If current argument is empty, skip over it
|
|
913
|
+
Cmd.Advance()
|
|
912
914
|
return defaultValue
|
|
913
915
|
invalidChoiceExit(boolean, TRUE_FALSE, False)
|
|
914
916
|
if defaultValue is not None:
|
|
@@ -1482,6 +1484,8 @@ def getInteger(minVal=None, maxVal=None, default=None):
|
|
|
1482
1484
|
return number
|
|
1483
1485
|
except ValueError:
|
|
1484
1486
|
if default is not None:
|
|
1487
|
+
if not Cmd.Current().strip(): # If current argument is empty, skip over it
|
|
1488
|
+
Cmd.Advance()
|
|
1485
1489
|
return default
|
|
1486
1490
|
invalidArgumentExit(integerLimits(minVal, maxVal))
|
|
1487
1491
|
elif default is not None:
|
|
@@ -11842,7 +11846,7 @@ def doCreateProject():
|
|
|
11842
11846
|
# Try to set policy on project to allow Service Account Key Upload
|
|
11843
11847
|
# orgp = getAPIService(API.ORGPOLICY, httpObj)
|
|
11844
11848
|
# projectParent = f"projects/{projectInfo['projectId']}"
|
|
11845
|
-
# policyName = f'{projectParent}/policies/iam.disableServiceAccountKeyUpload'
|
|
11849
|
+
# policyName = f'{projectParent}/policies/iam.managed.disableServiceAccountKeyUpload'
|
|
11846
11850
|
# try:
|
|
11847
11851
|
# result = callGAPI(orgp.projects().policies(), 'get',
|
|
11848
11852
|
# throwReasons=[GAPI.NOT_FOUND, GAPI.FAILED_PRECONDITION, GAPI.PERMISSION_DENIED],
|
|
@@ -12646,7 +12650,7 @@ def doProcessSvcAcctKeys(mode=None, iam=None, projectId=None, clientEmail=None,
|
|
|
12646
12650
|
return False
|
|
12647
12651
|
except GAPI.failedPrecondition as e:
|
|
12648
12652
|
entityActionFailedWarning([Ent.PROJECT, projectId, Ent.SVCACCT, clientEmail], str(e))
|
|
12649
|
-
if 'iam.disableServiceAccountKeyUpload' not in str(e):
|
|
12653
|
+
if 'iam.disableServiceAccountKeyUpload' not in str(e) and 'iam.managed.disableServiceAccountKeyUpload' not in str(e):
|
|
12650
12654
|
return False
|
|
12651
12655
|
if retry == maxRetries or mode != 'upload':
|
|
12652
12656
|
sys.stdout.write(Msg.ENABLE_SERVICE_ACCOUNT_PRIVATE_KEY_UPLOAD.format(projectId))
|
|
@@ -38688,7 +38692,7 @@ def _getEventMatchFields(calendarEventEntity, fieldsList):
|
|
|
38688
38692
|
else:
|
|
38689
38693
|
fieldsList.append('attendees/email')
|
|
38690
38694
|
if match[0][1] == 'status':
|
|
38691
|
-
fieldsList.extend('attendees/optional', 'attendees/responseStatus')
|
|
38695
|
+
fieldsList.extend(['attendees/optional', 'attendees/responseStatus'])
|
|
38692
38696
|
|
|
38693
38697
|
def _eventMatches(event, match):
|
|
38694
38698
|
if match[0][0] != 'attendees':
|
|
@@ -43027,7 +43031,7 @@ def getUserAttributes(cd, updateCmd, noUid=False):
|
|
|
43027
43031
|
if value:
|
|
43028
43032
|
entry[argument] = value
|
|
43029
43033
|
else:
|
|
43030
|
-
entry[argument] = getInteger(minVal=0, maxVal=100000)
|
|
43034
|
+
entry[argument] = getInteger(minVal=0, maxVal=100000, default=0)
|
|
43031
43035
|
elif primaryNotPrimary(argument, entry):
|
|
43032
43036
|
break
|
|
43033
43037
|
else:
|
gam/googleapiclient/version.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
gam/__init__.py,sha256=
|
|
1
|
+
gam/__init__.py,sha256=5hf3PtcK9dntBIKEy91yqb1Uogrbti7P4k82wlO9eWU,3481445
|
|
2
2
|
gam/__main__.py,sha256=amz0-959ph6zkZKqjaar4n60yho-T37w6qWI36qx0CA,1049
|
|
3
3
|
gam/cacerts.pem,sha256=nJuWha0xm5dHw_5ptGphwRoO-r36Ccpqiww9pCEDbSc,67484
|
|
4
4
|
gam/cbcm-v1.1beta1.json,sha256=xO5XloCQQULmPbFBx5bckdqmbLFQ7sJ2TImhE1ysDIY,19439
|
|
@@ -58,15 +58,15 @@ gam/googleapiclient/http.py,sha256=ITE51oqDBqN1-AA5D-Tnlj3egGc_5O0V5xSzBw3UTKI,6
|
|
|
58
58
|
gam/googleapiclient/mimeparse.py,sha256=wwouQMCjppTocJtiQhkkTa27kocYwlFRALL2z11Xo1Y,6530
|
|
59
59
|
gam/googleapiclient/model.py,sha256=NQDO1GhOGNVCJlSSCLOecdA11yf8RDXfSLFxYb3R7EE,14085
|
|
60
60
|
gam/googleapiclient/schema.py,sha256=rR3u8WPQ_V8a7GCUsNuvtf6GxzwuMO0HaqsTBp3tnyM,10414
|
|
61
|
-
gam/googleapiclient/version.py,sha256=
|
|
61
|
+
gam/googleapiclient/version.py,sha256=vY1VaLgft_SIONbdSFPvHzipKt1agXbOX-Z-ZFbo9s0,599
|
|
62
62
|
gam/googleapiclient/discovery_cache/__init__.py,sha256=ww_vl0vhVLuHSEdRTv3-gq6EDG--Ff7rILYHHFifnzc,2315
|
|
63
63
|
gam/googleapiclient/discovery_cache/appengine_memcache.py,sha256=6T1pQj-toAhDwfgLuiggFGhxKNGw5y-NnLUzLIF_M4s,1657
|
|
64
64
|
gam/googleapiclient/discovery_cache/base.py,sha256=yCDPtxnbNN-p5_9fzBacC6P3wcUPlaCQIy5v_dXTons,1389
|
|
65
65
|
gam/googleapiclient/discovery_cache/file_cache.py,sha256=sim3Mg4HgRYo3vX75jvcKy_aV568EvIrtBfvfbw-044,4774
|
|
66
66
|
gam/iso8601/__init__.py,sha256=Z2PsYbXgAH5a5xzUvgczCboPzqWpm65kRcIngCnhViU,1218
|
|
67
67
|
gam/iso8601/iso8601.py,sha256=Li2FHZ4sBTWuthuQhyCvmvj0j6At8JbGzkSv2fc2RHU,4384
|
|
68
|
-
gam7-7.5.
|
|
69
|
-
gam7-7.5.
|
|
70
|
-
gam7-7.5.
|
|
71
|
-
gam7-7.5.
|
|
72
|
-
gam7-7.5.
|
|
68
|
+
gam7-7.5.9.dist-info/METADATA,sha256=5g-nZw9iIC0QtEfMWCKEneBbFlnP5YSqu4lEB_XoKhM,2888
|
|
69
|
+
gam7-7.5.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
70
|
+
gam7-7.5.9.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
|
|
71
|
+
gam7-7.5.9.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
72
|
+
gam7-7.5.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|