Reformat using black.

This commit is contained in:
Jelmer Vernooij 2021-02-09 23:19:40 +00:00
parent 4b1591d864
commit 8aae9c93d8
No known key found for this signature in database
GPG key ID: 579C160D4C9E23E8
7 changed files with 327 additions and 266 deletions

View file

@ -115,12 +115,16 @@ class DistCatcher(object):
def create_dist_schroot(
tree: Tree, target_dir: str,
chroot: str, packaging_tree: Optional[Tree] = None,
include_controldir: bool = True,
subdir: Optional[str] = None) -> str:
tree: Tree,
target_dir: str,
chroot: str,
packaging_tree: Optional[Tree] = None,
include_controldir: bool = True,
subdir: Optional[str] = None,
) -> str:
from .buildsystem import detect_buildsystems
from .resolver import AptResolver
if subdir is None:
subdir = "package"
with SchrootSession(chroot) as session: