From d128df9f87a69f169530206cb054417264d1d8c7 Mon Sep 17 00:00:00 2001 From: williamforbrigd <hansw0701@gmail.com> Date: Mon, 25 Apr 2022 14:58:09 +0200 Subject: [PATCH] removed unused stuff and deleted unused file --- bbcli/commands/contents.py | 3 --- bbcli/string_builder.py | 14 -------------- 2 files changed, 17 deletions(-) delete mode 100644 bbcli/string_builder.py diff --git a/bbcli/commands/contents.py b/bbcli/commands/contents.py index 8aec8c1..f558e0b 100644 --- a/bbcli/commands/contents.py +++ b/bbcli/commands/contents.py @@ -7,13 +7,10 @@ import click import concurrent.futures from bbcli.entities.Node import Node -from bbcli.utils.URL_builder import URL_builder from bbcli.utils import content_utils from bbcli.utils.content_handler import content_handler from bbcli.views import contents_view -url_builder = URL_builder() - def standard_options(function): function = click.option('-h', '--hide-content', is_flag=True, help='Hide content for students')(function) diff --git a/bbcli/string_builder.py b/bbcli/string_builder.py deleted file mode 100644 index 1b671af..0000000 --- a/bbcli/string_builder.py +++ /dev/null @@ -1,14 +0,0 @@ -from io import StringIO - - -class StringBuilder: - _file_str = None - - def __init__(self): - self._file_str = StringIO() - - def append(self, str): - self._file_str.write(str) - - def __str__(self): - return self._file_str.getvalue() -- GitLab