From 94efe72ab954d3894d571f745dcc86f9f917819f Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sat, 12 Oct 2013 15:12:44 -0500 Subject: loop over functions and macros separately rather than using zip --- cryptography/bindings/openssl/api.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cryptography/bindings/openssl/api.py b/cryptography/bindings/openssl/api.py index f7e14c10..ed3576aa 100644 --- a/cryptography/bindings/openssl/api.py +++ b/cryptography/bindings/openssl/api.py @@ -17,8 +17,6 @@ import sys import cffi -import six - from cryptography.primitives import interfaces @@ -56,8 +54,9 @@ class API(object): # loop over the functions & macros after declaring all the types # so we can set interdependent types in different files and still # have them all defined before we parse the funcs & macros - for func, macro in six.moves.zip(functions, macros): + for func in functions: self.ffi.cdef(func) + for macro in macros: self.ffi.cdef(macro) # We include functions here so that if we got any of their definitions -- cgit v1.2.3