Remove vdirsyncer repl hack

This commit is contained in:
Markus Unterwaditzer 2016-10-22 16:36:24 +02:00
parent 2186178968
commit 4da83bfb79

View file

@ -227,16 +227,3 @@ def repair(ctx, collection):
'synchronization features.')
click.confirm('Do you want to continue?', abort=True)
repair_collection(ctx.config, collection)
# Not sure if useful. I originally wanted it because:
# * my password manager has a timeout for caching the master password
# * when calling vdirsyncer in a cronjob, the master password prompt would
# randomly pop up
# So I planned on piping a FIFO to vdirsyncer, and writing to that FIFO from a
# cronjob.
try:
import click_repl
click_repl.register_repl(app)
except ImportError:
pass