mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
6.41 - fixes #1600
This commit is contained in:
@@ -7456,10 +7456,12 @@ def _getProjects(crm, pfilter):
|
||||
crm.projects(),
|
||||
'get',
|
||||
name=f'projects/{pfilter}',
|
||||
throw_reasons=[gapi_errors.ErrorReason.BAD_REQUEST])]
|
||||
throw_reasons=[gapi_errors.ErrorReason.BAD_REQUEST,
|
||||
gapi_errors.ErrorReason.FOUR_O_THREE])]
|
||||
except gapi_errors.GapiBadRequestError as e:
|
||||
controlflow.system_error_exit(2, f'Project: {pfilter}, {str(e)}')
|
||||
|
||||
except googleapiclient.errors.HttpError:
|
||||
return []
|
||||
|
||||
PROJECTID_PATTERN = re.compile(r'^[a-z][a-z0-9-]{4,28}[a-z0-9]$')
|
||||
PROJECTID_FORMAT_REQUIRED = '[a-z][a-z0-9-]{4,28}[a-z0-9]'
|
||||
|
||||
@@ -8,7 +8,7 @@ import platform
|
||||
import re
|
||||
|
||||
GAM_AUTHOR = 'Jay Lee <jay0lee@gmail.com>'
|
||||
GAM_VERSION = '6.40'
|
||||
GAM_VERSION = '6.41'
|
||||
GAM_LICENSE = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
||||
|
||||
GAM_URL = 'https://jaylee.us/gam'
|
||||
|
||||
Reference in New Issue
Block a user