projects
/
pyutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Towards a more type-clean mypy check.
[pyutils.git]
/
src
/
pyutils
/
unscrambler.py
diff --git
a/src/pyutils/unscrambler.py
b/src/pyutils/unscrambler.py
index cada2a03c5c5e967be02f1c4703b9d0108f5797f..847198d9212d78b89814c9431af6a1ce62187e0d 100644
(file)
--- a/
src/pyutils/unscrambler.py
+++ b/
src/pyutils/unscrambler.py
@@
-130,6
+130,7
@@
class Unscrambler(object):
if indexfile is None:
if 'unscrambler_default_indexfile' in config.config:
indexfile = config.config['unscrambler_default_indexfile']
+ assert type(indexfile) == str
else:
indexfile = "/usr/share/dict/sparse_index"
else: