python3-argcomplete seems unused in practice...

This commit is contained in:
Alexandre Aubin 2021-08-27 22:05:23 +02:00
parent ac94de6afd
commit 0eaccab3b8
3 changed files with 0 additions and 7 deletions

1
debian/control vendored
View file

@ -12,7 +12,6 @@ Depends: ${misc:Depends}, ${python3:Depends},
python3-yaml,
python3-bottle (>= 0.12),
python3-gevent-websocket,
python3-argcomplete,
python3-toml,
python3-psutil,
python3-tz

View file

@ -9,8 +9,6 @@ import argparse
from collections import OrderedDict
from datetime import date, datetime
import argcomplete
from moulinette import m18n, Moulinette
from moulinette.actionsmap import ActionsMap
from moulinette.core import MoulinetteError, MoulinetteValidationError
@ -492,9 +490,6 @@ class Interface:
if output_as and output_as not in ["json", "plain", "none"]:
raise MoulinetteValidationError("invalid_usage")
# auto-complete
argcomplete.autocomplete(self.actionsmap.parser._parser)
try:
ret = self.actionsmap.process(args, timeout=timeout)
except (KeyboardInterrupt, EOFError):

View file

@ -18,7 +18,6 @@ if "install" in sys.argv:
locale_files.append("locales/%s" % f)
install_deps = [
"argcomplete",
"psutil",
"pytz",
"pyyaml",