From 45916412bd6908204393a9c50a2e74d8877c2824 Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Sat, 2 Oct 2021 23:30:41 +0100 Subject: [PATCH] Remove unused code --- src/python/sso/urllib2_handler.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/python/sso/urllib2_handler.py b/src/python/sso/urllib2_handler.py index 4f60ee9..73f698b 100644 --- a/src/python/sso/urllib2_handler.py +++ b/src/python/sso/urllib2_handler.py @@ -87,9 +87,3 @@ def install_handler(jar=None, **kwargs): urllib2.build_opener(urllib2.HTTPCookieProcessor(jar), SSOProcessor(**kwargs))) - -if __name__ == '__main__': - install_handler() - resp = urllib2.urlopen('https://wiki.autistici.org/') - print resp.read() - -- GitLab