Skip to content

Commit

Permalink
[iotaledger#145] Reformat rest of crypto package for PEP-8.
Browse files Browse the repository at this point in the history
  • Loading branch information
todofixthis committed Jun 13, 2018
1 parent 8e91f8a commit aef4799
Show file tree
Hide file tree
Showing 5 changed files with 986 additions and 946 deletions.
16 changes: 7 additions & 9 deletions iota/crypto/__init__.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# coding=utf-8
from __future__ import absolute_import, division, print_function, \
unicode_literals

unicode_literals

# Load curl library.
# If a compiled c extension is available, we will prefer to load that;
# otherwise fall back to pure-Python implementation.
# https://pypi.python.org/pypi/PyOTA-CCurl
try:
from ccurl import *
from ccurl import *
except ImportError:
from .pycurl import *

from .pycurl import *

FRAGMENT_LENGTH = 2187
"""
Expand All @@ -23,7 +21,7 @@


class SeedWarning(Warning):
"""
Warning for inappropriate seeds.
"""
pass
"""
Warning for insecure or otherwise inappropriate seeds.
"""
pass
Loading

0 comments on commit aef4799

Please sign in to comment.