gam7 7.25.0__py3-none-any.whl → 7.25.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.25.00'
28
+ __version__ = '7.25.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
@@ -3716,12 +3716,12 @@ def SetGlobalVariables():
3716
3716
  return stringlist
3717
3717
 
3718
3718
  def _getCfgTimezone(sectionName, itemName):
3719
- value = _stripStringQuotes(GM.Globals[GM.PARSER].get(sectionName, itemName).lower())
3720
- if value in {'utc', 'z'}:
3719
+ value = _stripStringQuotes(GM.Globals[GM.PARSER].get(sectionName, itemName))
3720
+ if value.lower() in {'utc', 'z'}:
3721
3721
  GM.Globals[GM.CONVERT_TO_LOCAL_TIME] = False
3722
3722
  return arrow.now('utc').tzinfo
3723
3723
  GM.Globals[GM.CONVERT_TO_LOCAL_TIME] = True
3724
- if value == 'local':
3724
+ if value.lower() == 'local':
3725
3725
  return arrow.now(value).tzinfo
3726
3726
  try:
3727
3727
  return arrow.now(value).tzinfo
@@ -4810,7 +4810,6 @@ def defaultSvcAcctScopes():
4810
4810
  saScopes[scope['api']].append(scope['scope'])
4811
4811
  else:
4812
4812
  saScopes[scope['api']].extend(scope['scope'])
4813
- saScopes[API.DRIVEACTIVITY].append(API.DRIVE_SCOPE)
4814
4813
  saScopes[API.DRIVE2] = saScopes[API.DRIVE3]
4815
4814
  return saScopes
4816
4815
 
@@ -12351,8 +12350,6 @@ def checkServiceAccount(users):
12351
12350
  saScopes[scope['api']].append(scope['roscope'])
12352
12351
  checkScopesSet.add(scope['roscope'])
12353
12352
  i += 1
12354
- if API.DRIVEACTIVITY in saScopes and API.DRIVE3 in saScopes:
12355
- saScopes[API.DRIVEACTIVITY].append(API.DRIVE_SCOPE)
12356
12353
  if API.DRIVE3 in saScopes:
12357
12354
  saScopes[API.DRIVE2] = saScopes[API.DRIVE3]
12358
12355
  GM.Globals[GM.OAUTH2SERVICE_JSON_DATA][API.OAUTH2SA_SCOPES] = saScopes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gam7
3
- Version: 7.25.0
3
+ Version: 7.25.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=KgQ0lP58wUrxs-hEKHB8E_pt7D0Wxq1R9X_vEczWPRU,3624274
1
+ gam/__init__.py,sha256=yap8ac2YE2vWhCUCB-BeTBpjot9iIWnkCDAIsEYLDrI,3624105
2
2
  gam/__main__.py,sha256=VwEYS7a9vYQPbT6iLduMOoVUJ6p4R-HZgerZQmM1NpE,1307
3
3
  gam/cacerts.pem,sha256=DUsVo2XlFYwfkhe3gnxa-Km4Z4noz74hSApXwTT-nQE,44344
4
4
  gam/cbcm-v1.1beta1.json,sha256=xO5XloCQQULmPbFBx5bckdqmbLFQ7sJ2TImhE1ysDIY,19439
@@ -47,8 +47,8 @@ gam/gdata/apps/audit/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrK
47
47
  gam/gdata/apps/audit/service.py,sha256=Z1eueThcNeVUMWP1DRWc_DGHrJCiJI8W_xj6L-cqu-Q,9658
48
48
  gam/gdata/apps/contacts/__init__.py,sha256=Um6zgIkiahZns7yAEuC3pxHSMD8iciZ_EoynSLoYPfU,30463
49
49
  gam/gdata/apps/contacts/service.py,sha256=5lNb-Ii1Gyek6ePFji3kyoYtCBc8CuJTwagx2BL2o14,15684
50
- gam7-7.25.0.dist-info/METADATA,sha256=5lZQJEOoo854RjAvSCT2Mp_RiCfJ484PXNa9oulJi_0,3092
51
- gam7-7.25.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
52
- gam7-7.25.0.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
53
- gam7-7.25.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
54
- gam7-7.25.0.dist-info/RECORD,,
50
+ gam7-7.25.1.dist-info/METADATA,sha256=6oZaQdu9zHBPDIShvoWWB3tKPftIvAE4F3CsEr5mBys,3092
51
+ gam7-7.25.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
52
+ gam7-7.25.1.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
53
+ gam7-7.25.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
54
+ gam7-7.25.1.dist-info/RECORD,,
File without changes