Commit graph

2 commits

Author SHA1 Message Date
Lars Karlitski
7754fd8e78 treesum: don't use dir_fd parameter in os.scandir()
This parameter was added in python 3.7, but we're only depending on 3.6
for RHEL.

Pass a path to `/proc/self/fd/...` instead.
2019-11-29 00:45:14 +01:00
Tom Gundersen
679b79c5e5 osbuild: split package into separate files
Import modules between files using the syntax `from . import foobar`,
renaming what used to be `FooBar` to `foobar.FooBar` when moved to a
separate file.

In __init__.py only import what is meant to be public API.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-08-21 09:56:50 +04:00