diff options
author | Ilya Etingof <etingof@gmail.com> | 2019-02-12 23:58:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-12 23:58:57 +0100 |
commit | 7a8838eeaf2a94a4ee8d309f2091a4fde13e5afc (patch) | |
tree | f6ac400c4897b2076d4e2759e5230e67100357db /pysnmp/proto/secmod/rfc7860/auth/hmacsha2.py | |
parent | 2a3fe3b5e08c91ab8d77569b02b36da63909f619 (diff) | |
download | pysnmp-git-7a8838eeaf2a94a4ee8d309f2091a4fde13e5afc.tar.gz |
PEP8 optimize imports (#242)
To make them PEP8-compliant
Diffstat (limited to 'pysnmp/proto/secmod/rfc7860/auth/hmacsha2.py')
-rw-r--r-- | pysnmp/proto/secmod/rfc7860/auth/hmacsha2.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pysnmp/proto/secmod/rfc7860/auth/hmacsha2.py b/pysnmp/proto/secmod/rfc7860/auth/hmacsha2.py index 495f8fcd..11dd79b3 100644 --- a/pysnmp/proto/secmod/rfc7860/auth/hmacsha2.py +++ b/pysnmp/proto/secmod/rfc7860/auth/hmacsha2.py @@ -4,10 +4,12 @@ # Copyright (c) 2005-2018, Olivier Verriest <verri@x25.pm> # License: http://snmplabs.com/pysnmp/license.html # -import sys import hmac try: - from hashlib import sha224, sha256, sha384, sha512 + from hashlib import sha224 + from hashlib import sha256 + from hashlib import sha384 + from hashlib import sha512 except ImportError: |