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

Commit

Permalink
[#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 49e7b8e commit ba99517
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 ba99517

Please sign in to comment.