mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-23 07:31:36 +00:00
Merge branch 'main' of https://github.com/GAM-team/GAM
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -568,7 +568,7 @@ jobs:
|
||||
- name: Basic Tests all jobs
|
||||
id: basictests
|
||||
run: |
|
||||
$PYTHON -m unittest discover --start-directory ./ --pattern "*_test.py" --buffer
|
||||
$PYTHON -m unittest discover --start-directory ./ --pattern "*_test.py" --buffer || if [ $? != 5 ]; then exit $?; fi # exit 5 is no tests
|
||||
$gam version extended
|
||||
export GAMVERSION=$($gam version simple)
|
||||
echo "GAM Version ${GAMVERSION}"
|
||||
|
||||
@@ -12222,6 +12222,7 @@ def doCreateGCPServiceAccount():
|
||||
systemErrorExit(API_ACCESS_DENIED_RC, str(e))
|
||||
sa_info['client_id'] = token_info['issued_to']
|
||||
sa_output = json.dumps(sa_info, ensure_ascii=False, sort_keys=True, indent=2)
|
||||
print(f'Writing SignJWT service account data:\n\n{sa_output}')
|
||||
writeFile(GC.Values[GC.OAUTH2SERVICE_JSON], sa_output, continueOnError=False)
|
||||
|
||||
# Audit command utilities
|
||||
|
||||
@@ -1087,7 +1087,7 @@ class GDataService(atom.service.AtomService):
|
||||
location = (server_response.getheader('Location')
|
||||
or server_response.getheader('location'))
|
||||
if location is not None:
|
||||
m = re.compile('[?&]gsessionid=(\w*)').search(location)
|
||||
m = re.compile(r'[?&]gsessionid=(\w*)').search(location)
|
||||
if m is not None:
|
||||
self.__gsessionid = m.group(1)
|
||||
return GDataService.Get(self, location, extra_headers, redirects_remaining - 1,
|
||||
@@ -1335,7 +1335,7 @@ class GDataService(atom.service.AtomService):
|
||||
location = (server_response.getheader('Location')
|
||||
or server_response.getheader('location'))
|
||||
if location is not None:
|
||||
m = re.compile('[?&]gsessionid=(\w*)').search(location)
|
||||
m = re.compile(r'[?&]gsessionid=(\w*)').search(location)
|
||||
if m is not None:
|
||||
self.__gsessionid = m.group(1)
|
||||
return GDataService.PostOrPut(self, verb, data, location,
|
||||
@@ -1433,7 +1433,7 @@ class GDataService(atom.service.AtomService):
|
||||
location = (server_response.getheader('Location')
|
||||
or server_response.getheader('location'))
|
||||
if location is not None:
|
||||
m = re.compile('[?&]gsessionid=(\w*)').search(location)
|
||||
m = re.compile(r'[?&]gsessionid=(\w*)').search(location)
|
||||
if m is not None:
|
||||
self.__gsessionid = m.group(1)
|
||||
return GDataService.Delete(self, location, extra_headers,
|
||||
|
||||
Reference in New Issue
Block a user