diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2021-09-21 21:40:13 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2021-09-21 21:43:53 +0100 |
commit | 1e6cc0394666ae95e9521f1016d07d56a3ed43a5 (patch) | |
tree | 9c4a1cd6da29403c8f14e6f190490ff39ab656ae /deluge/ui/console | |
parent | d8526ba65335bcd48e3f5fa7056081d9a8cd5bd3 (diff) | |
download | deluge-1e6cc0394666ae95e9521f1016d07d56a3ed43a5.tar.gz deluge-1e6cc0394666ae95e9521f1016d07d56a3ed43a5.tar.bz2 deluge-1e6cc0394666ae95e9521f1016d07d56a3ed43a5.zip |
[Lint] Fix spelling mistakes
A quick fix of some of the mistakes caught by codespell.
Updated readme with new IRC server
Useful to add it as part of linting checks.
Diffstat (limited to 'deluge/ui/console')
-rw-r--r-- | deluge/ui/console/cmdline/commands/rm.py | 4 | ||||
-rw-r--r-- | deluge/ui/console/parser.py | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/deluge/ui/console/cmdline/commands/rm.py b/deluge/ui/console/cmdline/commands/rm.py index ff3125d81..c34148ac9 100644 --- a/deluge/ui/console/cmdline/commands/rm.py +++ b/deluge/ui/console/cmdline/commands/rm.py @@ -70,7 +70,9 @@ class Command(BaseCommand): def on_removed_finished(errors): if errors: - self.console.write('Error(s) occured when trying to delete torrent(s).') + self.console.write( + 'Error(s) occurred when trying to delete torrent(s).' + ) for t_id, e_msg in errors: self.console.write('Error removing torrent %s : %s' % (t_id, e_msg)) diff --git a/deluge/ui/console/parser.py b/deluge/ui/console/parser.py index 1c0bd7009..917773aef 100644 --- a/deluge/ui/console/parser.py +++ b/deluge/ui/console/parser.py @@ -23,7 +23,7 @@ class OptionParserError(Exception): class ConsoleBaseParser(argparse.ArgumentParser): def format_help(self): """Differs from ArgumentParser.format_help by adding the raw epilog - as formatted in the string. Default bahavior mangles the formatting. + as formatted in the string. Default behavior mangles the formatting. """ # Handle epilog manually to keep the text formatting |