summaryrefslogtreecommitdiff
path: root/OpenSSL/__init__.py
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@divmod.com>2010-09-19 10:15:08 -0400
committerJean-Paul Calderone <exarkun@divmod.com>2010-09-19 10:15:08 -0400
commit02ea268856d96dada5e632867fa378cd0d2b7105 (patch)
tree67e65a2057000b6f5ec2370a104cd5c8f7acb723 /OpenSSL/__init__.py
parent769845a96328692409f89ccdf2a45a561ec74510 (diff)
downloadpyopenssl-02ea268856d96dada5e632867fa378cd0d2b7105.tar.gz
Only delete orig if it was defined
Diffstat (limited to 'OpenSSL/__init__.py')
-rw-r--r--OpenSSL/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSSL/__init__.py b/OpenSSL/__init__.py
index 5f00355..51dfdc9 100644
--- a/OpenSSL/__init__.py
+++ b/OpenSSL/__init__.py
@@ -18,7 +18,8 @@ else:
sys.setdlopenflags(2 | 256)
from OpenSSL import crypto
sys.setdlopenflags(orig)
-del sys, orig
+ del orig
+del sys
from OpenSSL import rand, crypto, SSL
from OpenSSL.version import __version__