projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make it work.
[python_utils.git]
/
arper.py
diff --git
a/arper.py
b/arper.py
index 2171e773088076aefc6f7d43c80fff59abb9b46f..c187023c98798044ac27e2b888f70ded7275ac93 100644
(file)
--- a/
arper.py
+++ b/
arper.py
@@
-48,7
+48,7
@@
cfg.add_argument(
@persistent.persistent_autoloaded_singleton()
class Arper(persistent.Persistent):
def __init__(
@persistent.persistent_autoloaded_singleton()
class Arper(persistent.Persistent):
def __init__(
- self, cached_state: Optional[BiDict
[str, str]
] = None
+ self, cached_state: Optional[BiDict] = None
) -> None:
self.state = BiDict()
if cached_state is not None:
) -> None:
self.state = BiDict()
if cached_state is not None:
@@
-130,7
+130,6
@@
class Arper(persistent.Persistent):
f'{cache_file} sucks, only {len(cached_state)} entries. Deleting it.'
)
os.remove(cache_file)
f'{cache_file} sucks, only {len(cached_state)} entries. Deleting it.'
)
os.remove(cache_file)
-
logger.debug('No usable saved state found')
return None
logger.debug('No usable saved state found')
return None