aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-08-07 23:50:51 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-08-07 23:50:51 -0700
commit6c4570da8218f0f003c2a4839927f3baadfd95aa (patch)
tree2378320f060f73ec4d4560b99446fffb28577d36 /cryptography
parent3562d05f7b6084e6c4de5ba547d0f5e03a349e1b (diff)
parent5e7926f5afbb155168a000008c842f1228a2e203 (diff)
downloadcryptography-6c4570da8218f0f003c2a4839927f3baadfd95aa.tar.gz
cryptography-6c4570da8218f0f003c2a4839927f3baadfd95aa.tar.bz2
cryptography-6c4570da8218f0f003c2a4839927f3baadfd95aa.zip
Merge pull request #21 from hynek/rename-c-to-bindings
Refactor into latest design decision
Diffstat (limited to 'cryptography')
-rw-r--r--cryptography/bindings/__init__.py0
-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()