-
b7efeb1f
by Ansgar
at 2021-09-25T13:59:38+02:00
remove odd/even classes from rows in HTML output
-
5103a965
by Ansgar
at 2021-09-25T14:27:59+02:00
do not explicitly inherit from `object` in class definitions
Expliclty inheriting from `object` was needed in Python 2 for
new-style classes, but is no longer needed in Python 3 where all
classes implicitly inherit from `object`.
-
f9524e2e
by Ansgar
at 2021-09-25T18:59:56+02:00
dak/show_deferred.py: stop using `six`
-
d7d9d8c8
by Ansgar
at 2021-09-25T19:02:05+02:00
daklib/archive.py: stop using `six`
-
e3e45125
by Ansgar
at 2021-09-25T19:03:11+02:00
dak/process_upload.py: stop using `six`
-
ad548d30
by Ansgar
at 2021-09-25T19:08:37+02:00
daklib/fstransactions.py: stop using `six`
-
3b19faaf
by Ansgar
at 2021-09-25T19:09:24+02:00
remove unused `import six`
-
526d5fea
by Ansgar
at 2021-09-25T19:13:24+02:00
daklib/dbconn.py: stop using `force_to_utf8`
Both `TarFile` and access to the filesystem via `UnpackedSource`
decode filenames. Therefore `name` is already a (Unicode) `str` since
the switch to Python 3.
Note that this imples dak currently no longer handles non-UTF-8
filenames in uploaded binary or source packages.
-
bb2a0846
by Ansgar
at 2021-09-25T19:20:31+02:00
daklib/textutils.py: stop using `force_to_utf8`
The `name` comes from a regexp match on a `str` and is therefore
already a Unicode `str`.
Already remove the now unused `force_to_utf8` function.
-
818c72dc
by Ansgar
at 2021-09-26T16:15:12+02:00
dak/admin.py: remove useless conversion to `str`
The arguments returned by `apt_pkg.parse_commandline` are already of
type `str`. Various subcommands also assumed so.
This change removes the conversion to `str` from the remaining
subcommands. With this the `six` module is also no longer needed.
-
e4041075
by Ansgar
at 2021-09-26T16:19:10+02:00
daklib/textutils.py: raise exception instead of returning empty string
-
99fcbbfd
by Ansgar
at 2021-09-26T17:17:29+02:00
daklib/checks.py: stop using `six`
-
80317e1e
by Ansgar
at 2021-09-26T18:27:21+02:00
dak/examine_package.py: stop using `six`
In addition the HTML output mode should be fixed which previously
tried to write `bytes` to `sys.stdout` in the `main` function.
-
993046a6
by Ansgar
at 2021-09-26T18:31:18+02:00
dak/process_new.py: stop using `six`
-
60535477
by Ansgar
at 2021-09-26T18:32:07+02:00
debian/control: remove dependency on python3-six
-
d84b3d6a
by Ansgar
at 2021-09-27T15:10:24+02:00
Merge branch 'master' into deploy