Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various code cleanup #1195

Commits on Feb 1, 2024

  1. Remove Python SIX usage

    We stopped caring about Python 2 support long time ago and with
    libblockdev 3.0 which is Python 3 only it wouldn't even be
    possible to support Python 2 so we should finally remove it.
    vojtechtrefny committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    9d64c01 View commit details
    Browse the repository at this point in the history
  2. Remove util.stringize and unicodeize functions

    These are needed only for the Pytho 2/3 compatibility and we no
    longer support Python 2. unicodeize can be removed without
    replacement and the default str constructor can replace stringize.
    vojtechtrefny committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    4581964 View commit details
    Browse the repository at this point in the history
  3. tests: Do not try to import mock and patch from mock

    We no longer support older versions of Python so we can import
    everything only from the unittest module.
    vojtechtrefny committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    ad73c87 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Configuration menu
    Copy the full SHA
    b497517 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d212b7b View commit details
    Browse the repository at this point in the history