diff options
author | Jean-Paul Calderone <exarkun@divmod.com> | 2010-09-19 10:15:08 -0400 |
---|---|---|
committer | Jean-Paul Calderone <exarkun@divmod.com> | 2010-09-19 10:15:08 -0400 |
commit | 02ea268856d96dada5e632867fa378cd0d2b7105 (patch) | |
tree | 67e65a2057000b6f5ec2370a104cd5c8f7acb723 /OpenSSL/__init__.py | |
parent | 769845a96328692409f89ccdf2a45a561ec74510 (diff) | |
download | pyopenssl-02ea268856d96dada5e632867fa378cd0d2b7105.tar.gz |
Only delete orig if it was defined
Diffstat (limited to 'OpenSSL/__init__.py')
-rw-r--r-- | OpenSSL/__init__.py | 3 |
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__ |