mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-03 10:25:51 +00:00
Remove stub repl
This commit is contained in:
parent
8130789d39
commit
544a0790b5
1 changed files with 8 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue