[kupfer] main: Revert blocking of _ssl and ssl modules
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer] main: Revert blocking of _ssl and ssl modules
- Date: Wed, 16 Mar 2011 20:22:02 +0000 (UTC)
commit ce742f0c4d2766ab8605986ef3f48935045ee3a0
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Wed Mar 16 21:21:39 2011 +0100
main: Revert blocking of _ssl and ssl modules
For now, we are simply not explicitly using the ssl module, and that
should be enough.
kupfer/main.py | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/kupfer/main.py b/kupfer/main.py
index 69542ce..5c94e07 100644
--- a/kupfer/main.py
+++ b/kupfer/main.py
@@ -132,11 +132,6 @@ def _set_process_title():
else:
setproctitle.setproctitle("kupfer")
-def _block_incompat_modules():
- """ block modules incompatible with the program license """
- for mod in ['ssl', '_ssl']:
- sys.modules[mod] = None
-
def gtkmain(quiet):
import pygtk
pygtk.require('2.0')
@@ -166,7 +161,6 @@ def main():
pass
sys.excepthook = sys.__excepthook__
_set_process_title()
- _block_incompat_modules()
quiet = ("--no-splash" in cli_opts)
gtkmain(quiet)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]