Skip to content

Commit

Permalink
Fixed python3 incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayrx committed Mar 8, 2014
1 parent 4dd97e5 commit 3558fd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cryptography/hazmat/bindings/commoncrypto/binding.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ def _ensure_ffi_initialized(cls):

@classmethod
def is_available(cls):
return sys.platform == "darwin" and map(
int, platform.mac_ver()[0].split(".")) >= [10, 8, 0]
return sys.platform == "darwin" and list(map(
int, platform.mac_ver()[0].split("."))) >= [10, 8, 0]

0 comments on commit 3558fd0

Please sign in to comment.