diff --git a/.travis.yml b/.travis.yml index 81b41dc..1f823c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ env: after_success: - codecov script: - - sudo npm config set registry=http://registry.npmjs.org/ + - echo registry=http://registry.npmjs.org/ | sudo tee /root/.npmrc - sudo apt install software-properties-common python3-setuptools python3-mysql.connector python3-pyxattr - sudo mkdir -p /etc/systemd/system # Until Travis is stuck with 14.04 - sudo easy_install3 pip diff --git a/certidude/auth.py b/certidude/auth.py index e0abc4e..d4c9a1c 100644 --- a/certidude/auth.py +++ b/certidude/auth.py @@ -14,7 +14,6 @@ from certidude import config, const logger = logging.getLogger("api") def authenticate(optional=False): - import falcon def wrapper(func): def kerberos_authenticate(resource, req, resp, *args, **kwargs): # Try pre-emptive authentication