Skip to content

Commit

Permalink
fix comment and flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Jul 8, 2017
1 parent 4046547 commit 615d3ea
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/cryptography/hazmat/bindings/openssl/_conditional.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

from __future__ import absolute_import, division, print_function

# This is a mapping of {condition: names-dependent-on-that-condition} so we can
# loop over them and delete unsupported names at runtime. It will be removed
# when cffi supports #if in cdef.


def Cryptography_HAS_CMS():
Expand Down Expand Up @@ -255,6 +252,11 @@ def Cryptography_HAS_EVP_PKEY_get_set_tls_encodedpoint():
]


# This is a mapping of
# {condition: function-returning-names-dependent-on-that-condition} so we can
# loop over them and delete unsupported names at runtime. It will be removed
# when cffi supports #if in cdef. We use functions instead of just a dict of
# lists so we can use coverage to measure which are used.
CONDITIONAL_NAMES = {
"Cryptography_HAS_CMS": Cryptography_HAS_CMS,
"Cryptography_HAS_EC2M": Cryptography_HAS_EC2M,
Expand Down

0 comments on commit 615d3ea

Please sign in to comment.