servo/python/mach/mach
Jonathan Schwender b42f5eaa17
mach: remove python2 compatibility code (#33410)
* util.py: Remove six

We don't need to support python2 anymore, so we can just use
`str(x)` instead of `six.ensure_str(x)`

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* config.py: Remove six

We don't need to support python2 anymore, so we can just use
`str(x)` instead of `six.ensure_str(x)`

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* main.py: Remove six

We don't need to support python2 anymore, so we can just use
`str(x)` instead of `six.ensure_str(x)`

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* main.py: Fix `--settings` being ignored

Previously `paths` was unused in this function,
and the usage for the settings_file would have no effect.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* terminal.py: Remove `six`

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* registrar.py: Remove `six`

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* mach/util.py: Remove `six`

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* mach: Remove python2 from the list of programming languages

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

---------

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2024-09-11 18:25:25 +00:00
..
mixin Vendor mach-1.0.0. 2021-12-21 10:57:18 -05:00
__init__.py Vendor mach-1.0.0. 2021-12-21 10:57:18 -05:00
base.py Vendor mach-1.0.0. 2021-12-21 10:57:18 -05:00
config.py mach: remove python2 compatibility code (#33410) 2024-09-11 18:25:25 +00:00
decorators.py Make mach work on Python 3.11 2023-01-22 05:13:30 +01:00
dispatcher.py Vendor mach-1.0.0. 2021-12-21 10:57:18 -05:00
logging.py Vendor mach-1.0.0. 2021-12-21 10:57:18 -05:00
main.py mach: remove python2 compatibility code (#33410) 2024-09-11 18:25:25 +00:00
registrar.py mach: remove python2 compatibility code (#33410) 2024-09-11 18:25:25 +00:00
terminal.py mach: remove python2 compatibility code (#33410) 2024-09-11 18:25:25 +00:00
util.py mach: remove python2 compatibility code (#33410) 2024-09-11 18:25:25 +00:00