diff --git a/diceware/__init__.py b/diceware/__init__.py index 37489165b9d6ea2cfa124906ed89b45596e8d538..7257f053e5ad38ce67e059b3b7dc90435b263bdd 100644 --- a/diceware/__init__.py +++ b/diceware/__init__.py @@ -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`. diff --git a/diceware/wordlist.py b/diceware/wordlist.py index 893b2c2141ba92408902de6f7d80dbf7a13d83e4..210c2674ec1946f3b16acc876f55e3b3107654cf 100644 --- a/diceware/wordlist.py +++ b/diceware/wordlist.py @@ -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. """