Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Commit ba99517

Browse files
committed
[#145] Reformat rest of crypto package for PEP-8.
1 parent 49e7b8e commit ba99517

File tree

5 files changed

+986
-946
lines changed

5 files changed

+986
-946
lines changed

iota/crypto/__init__.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
# coding=utf-8
22
from __future__ import absolute_import, division, print_function, \
3-
unicode_literals
4-
3+
unicode_literals
54

65
# Load curl library.
76
# If a compiled c extension is available, we will prefer to load that;
87
# otherwise fall back to pure-Python implementation.
98
# https://pypi.python.org/pypi/PyOTA-CCurl
109
try:
11-
from ccurl import *
10+
from ccurl import *
1211
except ImportError:
13-
from .pycurl import *
14-
12+
from .pycurl import *
1513

1614
FRAGMENT_LENGTH = 2187
1715
"""
@@ -23,7 +21,7 @@
2321

2422

2523
class SeedWarning(Warning):
26-
"""
27-
Warning for inappropriate seeds.
28-
"""
29-
pass
24+
"""
25+
Warning for insecure or otherwise inappropriate seeds.
26+
"""
27+
pass

0 commit comments

Comments
 (0)