diff options
| author | Hynek Schlawack <hs@ox.cx> | 2013-08-08 08:40:47 +0200 |
|---|---|---|
| committer | Hynek Schlawack <hs@ox.cx> | 2013-08-08 08:40:47 +0200 |
| commit | 196515a866d6582fbb4666cc1b78625d31c4f53c (patch) | |
| tree | 2af9e38901974693bac553ec9cb6a57802403f3f /cryptography | |
| parent | 3562d05f7b6084e6c4de5ba547d0f5e03a349e1b (diff) | |
| download | cryptography-196515a866d6582fbb4666cc1b78625d31c4f53c.tar.gz cryptography-196515a866d6582fbb4666cc1b78625d31c4f53c.tar.bz2 cryptography-196515a866d6582fbb4666cc1b78625d31c4f53c.zip | |
Refactor into latest design decision
C is an implementation detail of the wrapper API, so we go with 'bindings'.
Also create/fix some namespaces.
Diffstat (limited to 'cryptography')
| -rw-r--r-- | cryptography/bindings/__init__.py | 0 | ||||
| -rw-r--r-- | cryptography/bindings/openssl/__init__.py (renamed from cryptography/c/__init__.py) | 2 | ||||
| -rw-r--r-- | cryptography/bindings/openssl/api.py (renamed from cryptography/c/api.py) | 4 |
3 files changed, 4 insertions, 2 deletions
diff --git a/cryptography/bindings/__init__.py b/cryptography/bindings/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/cryptography/bindings/__init__.py diff --git a/cryptography/c/__init__.py b/cryptography/bindings/openssl/__init__.py index 09bf4977..6c803fbc 100644 --- a/cryptography/c/__init__.py +++ b/cryptography/bindings/openssl/__init__.py @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from cryptography.c.api import api +from cryptography.bindings.openssl import api __all__ = ["api"] diff --git a/cryptography/c/api.py b/cryptography/bindings/openssl/api.py index ea8827f1..3cc6a0e9 100644 --- a/cryptography/c/api.py +++ b/cryptography/bindings/openssl/api.py @@ -15,7 +15,9 @@ from __future__ import absolute_import, division, print_function class API(object): - """OpenSSL API wrapper.""" + """ + OpenSSL API wrapper. + """ api = API() |
