Skip to content
Snippets Groups Projects
Commit 6cafa4c1 authored by ulif's avatar ulif
Browse files

pep8.

parent daa6a185
No related branches found
No related tags found
No related merge requests found
......@@ -16,14 +16,11 @@
"""diceware -- rememberable passphrases
"""
import argparse
import os
import pkg_resources
import re
import sys
from random import SystemRandom
from diceware.wordlist import (
get_wordlist_names, get_wordlist, get_wordlist_path, WORDLISTS_DIR,
RE_WORDLIST_NAME,
get_wordlist, get_wordlist_path, WORDLISTS_DIR,
)
__version__ = pkg_resources.get_distribution('diceware').version
......@@ -122,6 +119,7 @@ def handle_options(args):
args = parser.parse_args(args)
return args
def insert_special_char(word, specials=SPECIAL_CHARS, rnd=None):
"""Insert a char out of `specials` into `word`.
......
......@@ -27,7 +27,6 @@ WORDLISTS_DIR = os.path.abspath(
RE_WORDLIST_NAME = re.compile('^[a-zA-Z0-9_-]+$')
def get_wordlist_names():
"""Get a all names of wordlists stored locally.
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment