From 919e6c71c24163b1f6d741ef50ee4a107a230064 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 23 May 2019 22:46:57 +0200 Subject: [PATCH] totpcgi: ignore deprecation warnings Signed-off-by: Patrick Uiterwijk --- roles/totpcgi/files/index.cgi | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/roles/totpcgi/files/index.cgi b/roles/totpcgi/files/index.cgi index 52cadc88fe..99c1b36533 100644 --- a/roles/totpcgi/files/index.cgi +++ b/roles/totpcgi/files/index.cgi @@ -1,4 +1,4 @@ -#!/usr/bin/python -tt +#!/usr/bin/python -tt -W ignore::DeprecationWarning ## # Copyright (C) 2012 by Konstantin Ryabitsev and contributors # @@ -24,9 +24,6 @@ import cgi import logging import urllib2 -import cgitb -cgitb.enable() - import totpcgi import totpcgi.backends