gam7 7.6.2__py3-none-any.whl → 7.6.4__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.06.02'
28
+ __version__ = '7.06.04'
29
29
  __license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
30
30
 
31
31
  #pylint: disable=wrong-import-position
@@ -14145,6 +14145,7 @@ def doReport():
14145
14145
  startDateTime += oneDay
14146
14146
  csvPF.writeCSVfile(f'Customer Report - {tryDate}')
14147
14147
  else: # activityReports
14148
+ csvPF.SetTitles('name')
14148
14149
  if addCSVData:
14149
14150
  csvPF.AddTitles(sorted(addCSVData.keys()))
14150
14151
  if select:
@@ -14303,8 +14304,7 @@ def doReport():
14303
14304
  row = {'name': 'NoActivities'}
14304
14305
  if addCSVData:
14305
14306
  row.update(addCSVData)
14306
- csvPF.WriteRowTitles(row)
14307
- csvPF.SetSortTitles(['name'])
14307
+ csvPF.WriteRowTitles(row)
14308
14308
  else:
14309
14309
  if eventRowFilter:
14310
14310
  csvPF.SetRowFilter([], GC.Values[GC.CSV_OUTPUT_ROW_FILTER_MODE])
@@ -56489,7 +56489,7 @@ def printFileParentTree(users):
56489
56489
  # Last file modification utilities
56490
56490
  def _initLastModification():
56491
56491
  return {'lastModifiedFileId': '', 'lastModifiedFileName': '',
56492
- 'lastModifiedFileMimeType': '', 'lastModifiedFilaPath': '',
56492
+ 'lastModifiedFileMimeType': '', 'lastModifiedFilePath': '',
56493
56493
  'lastModifyingUser': '', 'lastModifiedTime': NEVER_TIME,
56494
56494
  'fileEntryInfo': {}}
56495
56495
 
@@ -56504,9 +56504,10 @@ def _checkUpdateLastModifiction(f_file, userLastModification):
56504
56504
  userLastModification['fileEntryInfo'] = f_file.copy()
56505
56505
 
56506
56506
  def _getLastModificationPath(drive, userLastModification, pathDelimiter):
56507
- filePathInfo = initFilePathInfo(pathDelimiter)
56508
- _, paths, _ = getFilePaths(drive, {}, userLastModification['fileEntryInfo'], filePathInfo)
56509
- userLastModification['lastModifiedFilePath'] = paths[0] if paths else UNKNOWN
56507
+ if userLastModification['fileEntryInfo']:
56508
+ filePathInfo = initFilePathInfo(pathDelimiter)
56509
+ _, paths, _ = getFilePaths(drive, {}, userLastModification['fileEntryInfo'], filePathInfo)
56510
+ userLastModification['lastModifiedFilePath'] = paths[0] if paths else UNKNOWN
56510
56511
 
56511
56512
  def _showLastModification(lastModification):
56512
56513
  printKeyValueList(['lastModifiedFileId', lastModification['lastModifiedFileId']])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gam7
3
- Version: 7.6.2
3
+ Version: 7.6.4
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=vIhIHMTCE_RPsHE4XjMLfawKthZe2aIUZEC0vG5UQdo,3492241
1
+ gam/__init__.py,sha256=3Wre__Lq7FNWuSdDkOv3UN7Ai6LlpiRJEVM9DNpHWuI,3492281
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
@@ -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.6.2.dist-info/METADATA,sha256=yNoAOO-39l1sEB9iwZpcvlKKWwndhqxl1YO3Dl8SS4g,2888
69
- gam7-7.6.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
70
- gam7-7.6.2.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
71
- gam7-7.6.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
72
- gam7-7.6.2.dist-info/RECORD,,
68
+ gam7-7.6.4.dist-info/METADATA,sha256=nDWX6C7CzKnomqlvB9u34J26hqpkgoNEosnV9J8YOxA,2888
69
+ gam7-7.6.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
70
+ gam7-7.6.4.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
71
+ gam7-7.6.4.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
72
+ gam7-7.6.4.dist-info/RECORD,,
File without changes