debian-forge/osbuild
David Rheinsberg 38662b22a6 meta: fix lookup of invalid schemata
We need to initialize `schema` to `None`, otherwise it will be an access
to an uninitialized variable when looking up invalid schemata:

    [...]
      File "[...]/osbuild/meta.py", line 583, in get_schema
        schema = Schema(schema, name or klass)
    UnboundLocalError: local variable 'schema' referenced before assignment

Signed-off-by: David Rheinsberg <david.rheinsberg@gmail.com>
2022-07-25 16:01:48 +02:00
..
formats osbuild: fix optional-types 2022-07-13 17:31:37 +02:00
util osbuild: fix optional-types 2022-07-13 17:31:37 +02:00
__init__.py Post release version bump 2022-07-20 08:17:54 +00:00
__main__.py osbuild: always return exit code 2020-10-27 22:04:09 +01:00
api.py osbuild: fix optional-types 2022-07-13 17:31:37 +02:00
buildroot.py osbuild: fix optional-types 2022-07-13 17:31:37 +02:00
devices.py osbuild: fix optional-types 2022-07-13 17:31:37 +02:00
host.py osbuild: fix optional-types 2022-07-13 17:31:37 +02:00
inputs.py osbuild: fix optional-types 2022-07-13 17:31:37 +02:00
loop.py loop: silence W0201 (attribute outside init) in set_status 2022-05-06 17:33:23 +02:00
main_cli.py osbuild: align --help output 2022-07-08 16:42:51 +02:00
meta.py meta: fix lookup of invalid schemata 2022-07-25 16:01:48 +02:00
monitor.py monitor: small whites pace fix 2022-05-06 17:33:23 +02:00
mounts.py osbuild: fix optional-types 2022-07-13 17:31:37 +02:00
objectstore.py osbuild: fix optional-types 2022-07-13 17:31:37 +02:00
pipeline.py osbuild: fix optional-types 2022-07-13 17:31:37 +02:00
remoteloop.py remoteloop: close loop device controller 2021-08-11 20:59:51 +02:00
sources.py osbuild: fix optional-types 2022-07-13 17:31:37 +02:00