mldonkey: Update description and minor updates

- Update description to simply and talk about multiple protocols supported.

- Don't diagnose on IPv6 as mldonkey does not listen there.

- Run yapf and isort.

- Minor styling fixes.

- Update functional tests to check for service running.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa committed 2019-01-25 14:39:31 -08:00
1 parent 548c6b98f3
commit 260dcd4d32
6 files changed
+35 -28

No files matched your search

+4 -3
View File
@@ -25,6 +25,7 @@ import subprocess
from plinth import action_utils
def parse_arguments():
"""Return parsed command line arguments as dictionary."""
parser = argparse.ArgumentParser()
@@ -40,9 +41,9 @@ def parse_arguments():
def subcommand_pre_install(_):
"""Preseed debconf values before packages are installed."""
subprocess.check_output(
['debconf-set-selections'],
input=b'mldonkey-server mldonkey-server/launch_at_startup boolean true')
subprocess.check_output([
'debconf-set-selections'
], input=b'mldonkey-server mldonkey-server/launch_at_startup boolean true')
def subcommand_enable(_):