Skip to content
Snippets Groups Projects
Commit bf2fb869 authored by David Douard's avatar David Douard
Browse files

cli: rename cli/deposit.py as cli/client.py to prevent a name clash

in the swh.deposit.cli namespace.
parent d075c56e
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ def cli(ctx, log_level):
def main():
logging.basicConfig()
from . import deposit # noqa
from . import client # noqa
try:
from . import admin # noqa
except ImportError: # server part is optional
......
......@@ -6,10 +6,10 @@
import click
from swh.deposit.config import setup_django_for
from swh.deposit.cli import cli
from swh.deposit.cli import deposit
@cli.group('admin')
@deposit.group('admin')
@click.option('--config-file', '-C', default=None,
type=click.Path(exists=True, dir_okay=False,),
help="Optional extra configuration file.")
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment