gam7 7.17.0__py3-none-any.whl → 7.17.1__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 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.17.00'
28
+ __version__ = '7.17.01'
29
29
  __license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
30
30
 
31
31
  #pylint: disable=wrong-import-position
@@ -46963,8 +46963,8 @@ def doCreateSiteVerification():
46963
46963
  printKeyValueList(['Meta HTML Header Data', webserver_meta_record['token']])
46964
46964
  printBlankLine()
46965
46965
 
46966
- def _showSiteVerificationInfo(site):
46967
- printKeyValueList(['Site', site['site']['identifier']])
46966
+ def _showSiteVerificationInfo(site, i=0, count=0):
46967
+ printKeyValueListWithCount(['Site', site['site']['identifier']], i, count)
46968
46968
  Ind.Increment()
46969
46969
  printKeyValueList(['ID', unquote(site['id'])])
46970
46970
  printKeyValueList(['Type', site['site']['type']])
@@ -47072,8 +47072,11 @@ def doInfoSiteVerification():
47072
47072
  checkForExtraneousArguments()
47073
47073
  sites = callGAPIitems(verif.webResource(), 'list', 'items')
47074
47074
  if sites:
47075
+ count = len(sites)
47076
+ i = 0
47075
47077
  for site in sorted(sites, key=lambda k: (k['site']['type'], k['site']['identifier'])):
47076
- _showSiteVerificationInfo(site)
47078
+ i += 1
47079
+ _showSiteVerificationInfo(site, i, count)
47077
47080
  else:
47078
47081
  printKeyValueList(['No Sites Verified.'])
47079
47082
 
@@ -47101,7 +47104,7 @@ def printShowWebResources(users):
47101
47104
  j = 0
47102
47105
  for site in sorted(sites, key=lambda k: (k['site']['type'], k['site']['identifier'])):
47103
47106
  j += 1
47104
- _showSiteVerificationInfo(site)
47107
+ _showSiteVerificationInfo(site, j, jcount)
47105
47108
  Ind.Decrement()
47106
47109
  else:
47107
47110
  for site in sites:
@@ -47134,7 +47137,10 @@ def printShowWebMasterSites(users):
47134
47137
  j = 0
47135
47138
  for site in sorted(sites, key=lambda k: k['siteUrl']):
47136
47139
  j += 1
47137
- _showSiteVerificationInfo(site)
47140
+ printKeyValueListWithCount(['Site', site['siteUrl']], j, jcount)
47141
+ Ind.Increment()
47142
+ printKeyValueList(['permissionLevel', site['permissionLevel']])
47143
+ Ind.Decrement()
47138
47144
  Ind.Decrement()
47139
47145
  else:
47140
47146
  for site in sites:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gam7
3
- Version: 7.17.0
3
+ Version: 7.17.1
4
4
  Summary: CLI tool to manage Google Workspace
5
5
  Project-URL: Homepage, https://github.com/GAM-team/GAM
6
6
  Project-URL: Issues, https://github.com/GAM-team/GAM/issues
@@ -1,4 +1,4 @@
1
- gam/__init__.py,sha256=HL9H4SdRvRO90h8nlVV4ZzHqrHi3eC-s4H2UDMv-GeA,3569213
1
+ gam/__init__.py,sha256=iyTl-pcv9rgneWPM50y1WsDmuLd6UBFYcYNQVrKwQro,3569466
2
2
  gam/__main__.py,sha256=amz0-959ph6zkZKqjaar4n60yho-T37w6qWI36qx0CA,1049
3
3
  gam/cacerts.pem,sha256=82Ak7btW_2XvocLUvAwPmpx8Chi0oqtZUG1gseLK_t4,50235
4
4
  gam/cbcm-v1.1beta1.json,sha256=xO5XloCQQULmPbFBx5bckdqmbLFQ7sJ2TImhE1ysDIY,19439
@@ -65,8 +65,8 @@ gam/googleapiclient/discovery_cache/base.py,sha256=yCDPtxnbNN-p5_9fzBacC6P3wcUPl
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.17.0.dist-info/METADATA,sha256=7bOQtLmPkHfOEw9WxA3ZOF9wwZntEfpZxUwOxuPd5tg,2940
69
- gam7-7.17.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
70
- gam7-7.17.0.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
71
- gam7-7.17.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
72
- gam7-7.17.0.dist-info/RECORD,,
68
+ gam7-7.17.1.dist-info/METADATA,sha256=G_WiPureV-B_yL5RqM55Iaz_chLX3Lrh5Q_QyQW9LH4,2940
69
+ gam7-7.17.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
70
+ gam7-7.17.1.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
71
+ gam7-7.17.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
72
+ gam7-7.17.1.dist-info/RECORD,,
File without changes