Skip to content

Commit

Permalink
Revert "Fix issues"
Browse files Browse the repository at this point in the history
This reverts commit 175750e.
  • Loading branch information
micafer committed Mar 13, 2024
1 parent 77c9195 commit 5a9dd76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
from app.ssh_key import SSHKey
from app.ott import OneTimeTokenData
from app import utils, db
from app import appdb as sitesInfo
from app.vault_info import VaultInfo
from oauthlib.oauth2.rfc6749.errors import InvalidTokenError, TokenExpiredError, InvalidGrantError
from werkzeug.exceptions import Forbidden
Expand Down
2 changes: 2 additions & 0 deletions app/egi_catch_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def get_site_info(site_name):
resp = requests.get(site_file, timeout=REQUESTS_TIMEOUT)
if resp.status_code == 200:
site_info = yaml.safe_load(resp.text)
site_info["gocdb"]
site_info["endpoint"]
vos = {}
for vo in site_info["vos"]:
vos[vo["name"]] = vo["auth"]["project_id"]
Expand Down
2 changes: 2 additions & 0 deletions app/tests/test_egi_catch_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

import unittest
import os
import xmltodict

from app import egi_catch_all
from mock import patch, MagicMock
Expand Down

0 comments on commit 5a9dd76

Please sign in to comment.