aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-12-15 11:19:05 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-12-15 11:19:05 -0800
commit004b3ad14d691311d6dbb48aa05901e01d681ea2 (patch)
tree5113e83deed538072131716f40875e303e45c0bd /src
parent993b85ad6f3ebe5db6a24c1649d28f8cf45095ea (diff)
downloadcryptography-004b3ad14d691311d6dbb48aa05901e01d681ea2.tar.gz
cryptography-004b3ad14d691311d6dbb48aa05901e01d681ea2.tar.bz2
cryptography-004b3ad14d691311d6dbb48aa05901e01d681ea2.zip
two flake8 fixes
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/hazmat/primitives/serialization.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cryptography/hazmat/primitives/serialization.py b/src/cryptography/hazmat/primitives/serialization.py
index 858ec043..0dbbc85c 100644
--- a/src/cryptography/hazmat/primitives/serialization.py
+++ b/src/cryptography/hazmat/primitives/serialization.py
@@ -6,7 +6,6 @@ from __future__ import absolute_import, division, print_function
import base64
import struct
-import sys
import warnings
from cryptography import utils
@@ -99,7 +98,6 @@ def _read_next_mpint(data):
return _int_from_bytes(mpint_data, byteorder='big', signed=False), rest
-
if hasattr(int, "from_bytes"):
_int_from_bytes = int.from_bytes
else: