Remove stub repl

This commit is contained in:
Markus Unterwaditzer 2015-07-08 19:41:09 +02:00
parent 8130789d39
commit 544a0790b5

View file

@ -212,11 +212,15 @@ def repair(collection):
general, all_pairs, all_storages = ctx.obj['config']
repair_collection(general, all_pairs, all_storages, 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:
@app.command()
def repl():
click.echo('You need click-repl installed.')
ctx.exit(1)
pass